core z80, cycle counting fixes (reset, bus request)

This commit is contained in:
kub 2024-05-07 23:10:27 +02:00
parent c9f9453414
commit 274dd51a60
6 changed files with 14 additions and 12 deletions

View file

@ -389,7 +389,6 @@ void PDebugZ80Frame(void)
else
lines = 262;
z80_resetCycles(Pico.t.z80c_aim);
PsndStartFrame();
if (/*Pico.m.z80Run &&*/ !Pico.m.z80_reset && (PicoIn.opt&POPT_EN_Z80)) {
@ -407,6 +406,7 @@ void PDebugZ80Frame(void)
PsndGetSamples(lines);
timers_cycle(Pico.t.z80c_aim);
z80_resetCycles();
Pico.t.m68c_aim = Pico.t.m68c_cnt;
}