From 1cd5b239a879696d0005f4e830cbb5bbc4d6277f Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Wed, 1 May 2013 23:12:29 -0700 Subject: Fix some more retranslation bugs in the Z80 core --- blastem.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'blastem.c') diff --git a/blastem.c b/blastem.c index 40c488f..2e210a5 100644 --- a/blastem.c +++ b/blastem.c @@ -151,7 +151,9 @@ m68k_context * sync_components(m68k_context * context, uint32_t address) z_context->int_cycle = ZVINT_CYCLE; } z_context->target_cycle = z_context->sync_cycle < z_context->int_cycle ? z_context->sync_cycle : z_context->int_cycle; + //printf("Running Z80 from cycle %d to cycle %d. Native PC: %p\n", z_context->current_cycle, z_context->sync_cycle, z_context->native_pc); z80_run(z_context); + //printf("Z80 ran to cycle %d\n", z_context->current_cycle); } } if (mclks >= MCLKS_PER_FRAME) { -- cgit v1.2.3