summaryrefslogtreecommitdiff
path: root/z80_to_x86.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-01-03 18:49:07 -0800
committerMichael Pavone <pavone@retrodev.com>2015-01-03 18:49:07 -0800
commitd57873760390a393e784d1339b1d64564fe83234 (patch)
tree911996da624a3fb32e6bb0b4e5d499639414b677 /z80_to_x86.c
parent102d10b6f2892826ba5c7efd901052e543886816 (diff)
Restore Z80 interrupt pulse duration and make a small improvement to debug print output
Diffstat (limited to 'z80_to_x86.c')
-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 9ae1a7c..68f3b4f 100644
--- a/z80_to_x86.c
+++ b/z80_to_x86.c
@@ -2254,7 +2254,7 @@ void z80_run(z80_context * context, uint32_t target_cycle)
context->int_cycle = CYCLE_NEVER;
}
context->target_cycle = context->sync_cycle < context->int_cycle ? context->sync_cycle : context->int_cycle;
- dprintf("Running Z80 from cycle %d to cycle %d. Int cycle: %d\n", context->current_cycle, context->sync_cycle, context->int_cycle);
+ dprintf("Running Z80 from cycle %d to cycle %d. Int cycle: %d (%d - %d)\n", context->current_cycle, context->sync_cycle, context->int_cycle, context->int_pulse_start, context->int_pulse_end);
context->options->run(context);
dprintf("Z80 ran to cycle %d\n", context->current_cycle);
}