Mercurial > repos > blastem
diff blastem.c @ 266:376df762ddf5
Fix some more retranslation bugs in the Z80 core
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 01 May 2013 23:12:29 -0700 |
parents | c6d12878ea93 |
children | 6c2d7e003a55 |
line wrap: on
line diff
--- a/blastem.c Wed May 01 20:15:33 2013 -0700 +++ b/blastem.c Wed May 01 23:12:29 2013 -0700 @@ -151,7 +151,9 @@ 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) {