summaryrefslogtreecommitdiff
path: root/m68k_core_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-01-01 17:31:59 -0800
committerMichael Pavone <pavone@retrodev.com>2015-01-01 17:31:59 -0800
commit574281b6ea14c8534582f088b1cbf128ba6b1d76 (patch)
treee5bc82bd61baf7716dbd5b85fae5c4dbcdc9ab53 /m68k_core_x86.c
parentec4eed4f35910aa27ca353fceea38155806ef188 (diff)
Fix some issues with 68K instruction retranslation
Diffstat (limited to 'm68k_core_x86.c')
-rw-r--r--m68k_core_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m68k_core_x86.c b/m68k_core_x86.c
index c0964bd..8d9fc6a 100644
--- a/m68k_core_x86.c
+++ b/m68k_core_x86.c
@@ -2185,7 +2185,7 @@ void insert_breakpoint(m68k_context * context, uint32_t address, code_ptr bp_han
mov_ir(&native, address, opts->gen.scratch1, SZ_D);
if (!bp_stub) {
code_info *code = &opts->gen.code;
- check_alloc_code(code, 5);
+ check_code_prologue(code);
bp_stub = code->cur;
call(&native, bp_stub);