diff options
Diffstat (limited to 'z80_util.c')
-rw-r--r-- | z80_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,11 +1,13 @@ void z80_read_8(z80_context *context) { + context->cycles += 3 * context->opts->gen.clock_divider; context->scratch1 = read_byte(context->scratch1, NULL, &context->opts->gen, context); } void z80_write_8(z80_context *context) { + context->cycles += 3 * context->opts->gen.clock_divider; write_byte(context->scratch2, context->scratch1, NULL, &context->opts->gen, context); } |