summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-05-01 23:12:29 -0700
committerMike Pavone <pavone@retrodev.com>2013-05-01 23:12:29 -0700
commit1cd5b239a879696d0005f4e830cbb5bbc4d6277f (patch)
treefc887283111d6b2c9d57a8d3465a6e9054f6e3a0 /blastem.c
parent6653d3afaadb9de8dd1350e63f71bf2ee3906de8 (diff)
Fix some more retranslation bugs in the Z80 core
Diffstat (limited to 'blastem.c')
-rw-r--r--blastem.c2
1 files changed, 2 insertions, 0 deletions
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) {