summaryrefslogtreecommitdiff
path: root/m68k_core_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-01-22 22:03:55 -0800
committerMichael Pavone <pavone@retrodev.com>2018-01-22 22:03:55 -0800
commit06373e75346f03c04a438c79ec4cf2f4a5095720 (patch)
tree7d83fe4696ab663610b4d30e3e47b68cc4bee0aa /m68k_core_x86.c
parent05fcf797a7f77537f18c760dfb0bec783dbd9981 (diff)
parent01e918692c93eea9e52b296cb27e227d4cd1fed0 (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);