summaryrefslogtreecommitdiff
path: root/m68k_to_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'm68k_to_x86.c')
-rw-r--r--m68k_to_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m68k_to_x86.c b/m68k_to_x86.c
index 7a7a90c..8daa11e 100644
--- a/m68k_to_x86.c
+++ b/m68k_to_x86.c
@@ -50,7 +50,7 @@ uint8_t * cycles(uint8_t * dst, uint32_t num)
uint8_t * check_cycles_int(uint8_t * dst, uint32_t address)
{
- dst = cmp_rr(dst, LIMIT, CYCLES, SZ_D);
+ dst = cmp_rr(dst, CYCLES, LIMIT, SZ_D);
uint8_t * jmp_off = dst+1;
dst = jcc(dst, CC_NC, dst + 7);
dst = mov_ir(dst, address, SCRATCH1, SZ_D);