diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-10-31 13:49:27 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-10-31 13:49:27 -0700 |
commit | 90e6a4b13a7afc6e035dc645bc89c86a951391ed (patch) | |
tree | 8c99f94d4cb00fb8e2905c9a3205407b466f36c5 /z80_to_x86.c | |
parent | 8ae568bd4afc5d9ce5a3a6e8fe98b0bfa30b4130 (diff) |
Small tweaks to timing of 68K/Z80 interactions based on latest tests
Diffstat (limited to 'z80_to_x86.c')
-rw-r--r-- | z80_to_x86.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/z80_to_x86.c b/z80_to_x86.c index 215a7cb..54f4c6e 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -2630,6 +2630,9 @@ void z80_clear_busreq(z80_context * context, uint32_t cycle) 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) |