Mercurial > repos > blastem
diff z80_to_x86.c @ 844:74e161fe7d39
Small tweaks to timing of 68K/Z80 interactions based on latest tests
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 31 Oct 2015 13:49:27 -0700 |
parents | ba93a3941300 |
children | adeb6465ad53 |
line wrap: on
line diff
--- a/z80_to_x86.c Sat Oct 31 13:24:39 2015 -0700 +++ b/z80_to_x86.c Sat Oct 31 13:49:27 2015 -0700 @@ -2630,6 +2630,9 @@ z80_run(context, cycle); context->busreq = 0; context->busack = 0; + //there appears to be at least a 1 Z80 cycle delay between busreq + //being released and resumption of execution + context->current_cycle += context->options->gen.clock_divider; } uint8_t z80_get_busack(z80_context * context, uint32_t cycle)