summaryrefslogtreecommitdiff
path: root/m68k_core_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-11-13 19:15:37 -0800
committerMichael Pavone <pavone@retrodev.com>2015-11-13 19:15:37 -0800
commit802454482c2843234a19a06f6acce360e0be3d60 (patch)
tree5b64111a903c93c75789390121965c055da45dd9 /m68k_core_x86.c
parent3834192b16663bb4bf5098df5b7a053e9c9dd086 (diff)
It is now possible to switch back and forth between the menu ROM and the game
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 fca07b5..9a43f01 100644
--- a/m68k_core_x86.c
+++ b/m68k_core_x86.c
@@ -2515,8 +2515,8 @@ void init_m68k_opts(m68k_options * opts, memmap_chunk * memmap, uint32_t num_chu
retn(code);
*do_ret = code->cur - (do_ret+1);
pop_r(code, opts->gen.scratch1);
- retn(code);
mov_rrdisp(code, opts->gen.scratch1, opts->gen.context_reg, offsetof(m68k_context, resume_pc), SZ_PTR);
+ retn(code);
*do_int = code->cur - (do_int+1);
//implement 1 instruction latency
cmp_irdisp(code, 0, opts->gen.context_reg, offsetof(m68k_context, int_pending), SZ_B);