mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
adjust z80 timing a bit
This commit is contained in:
parent
ebd70cb5d9
commit
3162a7104c
4 changed files with 32 additions and 33 deletions
|
@ -78,7 +78,6 @@ static int PicoFrameHints(void)
|
|||
int hint; // Hint counter
|
||||
|
||||
pevt_log_m68k_o(EVT_FRAME_START);
|
||||
pv->v_counter = Pico.m.scanline = 0;
|
||||
|
||||
if ((PicoOpt&POPT_ALT_RENDERER) && !PicoSkipFrame && (pv->reg[1]&0x40)) { // fast rend., display enabled
|
||||
// draw a frame just after vblank in alternative render mode
|
||||
|
@ -91,6 +90,8 @@ static int PicoFrameHints(void)
|
|||
}
|
||||
else skip=PicoSkipFrame;
|
||||
|
||||
timing.m68c_frame_start = SekCyclesDone();
|
||||
pv->v_counter = Pico.m.scanline = 0;
|
||||
z80_resetCycles();
|
||||
PsndStartFrame();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue