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
|
@ -846,7 +846,6 @@ void PicoFrameMS(void)
|
|||
int nmi;
|
||||
int y;
|
||||
|
||||
z80_resetCycles(Pico.t.z80c_aim);
|
||||
PsndStartFrame();
|
||||
|
||||
// for SMS the pause button generates an NMI, for GG ths is not the case
|
||||
|
@ -923,6 +922,7 @@ void PicoFrameMS(void)
|
|||
z80_exec(Pico.t.z80c_line_start + cycles_line);
|
||||
}
|
||||
|
||||
z80_resetCycles();
|
||||
PsndGetSamplesMS(lines);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue