summaryrefslogtreecommitdiff
path: root/m68k_core_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-01-01 20:07:47 -0800
committerMichael Pavone <pavone@retrodev.com>2015-01-01 20:07:47 -0800
commit9e0779e64b71a60ee9287ed01330baf020cfd932 (patch)
tree9ce5cf6cc025b9a8dfce2977e371ba143f3d0ab6 /m68k_core_x86.c
parentdac14d1f29445b77fee5b570e6eb73c28b1860a4 (diff)
Use call_args and call_args_abi in Z80 core
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 1914599..aed617f 100644
--- a/m68k_core_x86.c
+++ b/m68k_core_x86.c
@@ -2166,7 +2166,7 @@ void insert_breakpoint(m68k_context * context, uint32_t address, code_ptr bp_han
//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);