summaryrefslogtreecommitdiff
path: root/m68k_core_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-01-04 21:37:34 -0800
committerMichael Pavone <pavone@retrodev.com>2018-01-04 21:37:34 -0800
commit01e918692c93eea9e52b296cb27e227d4cd1fed0 (patch)
tree7e8973659fce002b0993c9c45fce4fe90719bf4f /m68k_core_x86.c
parentd7331c70ead9e7b511f35a1825a4715b3bfad448 (diff)
parentaa3d342f4bff853c7148f751a2703ae017926d70 (diff)
Merge
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 1f9a511..6fa1dce 100644
--- a/m68k_core_x86.c
+++ b/m68k_core_x86.c
@@ -2365,7 +2365,7 @@ void translate_m68k_stop(m68k_options *opts, m68kinst *inst)
}
code_ptr loop_top = code->cur;
call(code, opts->do_sync);
- cmp_rr(code, opts->gen.limit, opts->gen.cycles, SZ_D);
+ cmp_rr(code, opts->gen.cycles, opts->gen.limit, SZ_D);
code_ptr normal_cycle_up = code->cur + 1;
jcc(code, CC_A, code->cur + 2);
cycles(&opts->gen, BUS);