summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-05-01 20:09:53 -0700
committerMike Pavone <pavone@retrodev.com>2013-05-01 20:09:53 -0700
commitf7d8ad3de5054977c126abfeaedd430ddaca4063 (patch)
treed8e686a4f9869ad2d142c578d1d4c03e572241d0 /blastem.c
parentfcd185e06e9e0f49b309cb77d7b3f03373142393 (diff)
Fix a crash bug in instruction retranslation
Diffstat (limited to 'blastem.c')
-rw-r--r--blastem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/blastem.c b/blastem.c
index 2fc5cf6..d727df3 100644
--- a/blastem.c
+++ b/blastem.c
@@ -150,10 +150,7 @@ 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\n", z_context->current_cycle, z_context->sync_cycle);
- printf("HL: %X, Native PC: %p\n", (z_context->regs[Z80_H] << 8) | z_context->regs[Z80_L], z_context->native_pc);
z80_run(z_context);
- printf("Z80 returned at cycle %d\n", z_context->current_cycle);
}
}
if (mclks >= MCLKS_PER_FRAME) {