mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
core z80, cycle counting fixes (reset, bus request)
This commit is contained in:
parent
c9f9453414
commit
274dd51a60
6 changed files with 14 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue