Mercurial > repos > blastem
diff m68k_core_x86.c @ 883:9f149f0e98b7
It is now possible to switch back and forth between the menu ROM and the game
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 13 Nov 2015 19:15:37 -0800 |
parents | 7022ba865cfd |
children | fb4d09f874dd |
line wrap: on
line diff
--- a/m68k_core_x86.c Mon Nov 09 22:34:36 2015 -0800 +++ b/m68k_core_x86.c Fri Nov 13 19:15:37 2015 -0800 @@ -2515,8 +2515,8 @@ retn(code); *do_ret = code->cur - (do_ret+1); pop_r(code, opts->gen.scratch1); + mov_rrdisp(code, opts->gen.scratch1, opts->gen.context_reg, offsetof(m68k_context, resume_pc), SZ_PTR); retn(code); - mov_rrdisp(code, opts->gen.scratch1, opts->gen.context_reg, offsetof(m68k_context, resume_pc), SZ_PTR); *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);