summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--z80_to_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/z80_to_x86.c b/z80_to_x86.c
index 34ad2f5..5b5124a 100644
--- a/z80_to_x86.c
+++ b/z80_to_x86.c
@@ -1411,7 +1411,7 @@ void translate_z80inst(z80inst * inst, z80_context * context, uint16_t address,
code_ptr loop_top = code->cur;
//this isn't terribly efficient, but it's good enough for now
cycles(&opts->gen, num_cycles);
- check_cycles_int(&opts->gen, address);
+ check_cycles_int(&opts->gen, address+1);
jmp(code, loop_top);
break;
}