summaryrefslogtreecommitdiff
path: root/m68k_core_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-03-24 22:18:23 -0700
committerMichael Pavone <pavone@retrodev.com>2018-03-24 22:18:23 -0700
commit371d5418e6b1bfba88b55382b0a1b91d97023ae5 (patch)
tree26e75e6766ec3f43284b90f3ba5acbf72d78d646 /m68k_core_x86.c
parent484e97a4e318d18b867acea7773853dfc7616a30 (diff)
parent15af9462392967b6adf7ba6ff4f7ff778cf10eb3 (diff)
Merge
--HG-- branch : nuklear_ui
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);