diff m68k_core_x86.c @ 657:92ce5ea5ffc9

Use call_args and call_args_abi in Z80 core
author Michael Pavone <pavone@retrodev.com>
date Thu, 01 Jan 2015 20:07:47 -0800
parents 24ccfd70133a
children d0943769353b
line wrap: on
line diff
--- a/m68k_core_x86.c	Thu Jan 01 19:15:05 2015 -0800
+++ b/m68k_core_x86.c	Thu Jan 01 20:07:47 2015 -0800
@@ -2166,7 +2166,7 @@
 		//Save context and call breakpoint handler
 		call(code, opts->gen.save_context);
 		push_r(code, opts->gen.scratch1);
-		call_args(code, bp_handler, 2, opts->gen.context_reg, opts->gen.scratch1);
+		call_args_abi(code, bp_handler, 2, opts->gen.context_reg, opts->gen.scratch1);
 		mov_rr(code, RAX, opts->gen.context_reg, SZ_PTR);
 		//Restore context
 		call(code, opts->gen.load_context);