diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-01-03 18:49:07 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-01-03 18:49:07 -0800 |
commit | d57873760390a393e784d1339b1d64564fe83234 (patch) | |
tree | 911996da624a3fb32e6bb0b4e5d499639414b677 /blastem.c | |
parent | 102d10b6f2892826ba5c7efd901052e543886816 (diff) |
Restore Z80 interrupt pulse duration and make a small improvement to debug print output
Diffstat (limited to 'blastem.c')
-rw-r--r-- | blastem.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -170,7 +170,7 @@ void z80_next_int_pulse(z80_context * z_context) { genesis_context * gen = z_context->system; z_context->int_pulse_start = vdp_next_vint_z80(gen->vdp); - z_context->int_pulse_end = z_context->int_pulse_start + Z80_VINT_DURATION; + z_context->int_pulse_end = z_context->int_pulse_start + Z80_VINT_DURATION * MCLKS_PER_Z80; } void sync_z80(z80_context * z_context, uint32_t mclks) |