diff m68k_core_x86.c @ 654:98927f1b005b

Fix some issues with 68K instruction retranslation
author Michael Pavone <pavone@retrodev.com>
date Thu, 01 Jan 2015 17:31:59 -0800
parents a18e3923481e
children 24ccfd70133a
line wrap: on
line diff
--- a/m68k_core_x86.c	Thu Jan 01 14:36:55 2015 -0800
+++ b/m68k_core_x86.c	Thu Jan 01 17:31:59 2015 -0800
@@ -2185,7 +2185,7 @@
 	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);