Skip to content

Commit

Permalink
taitof2, pulirula: fix shaking gears in intro
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Nov 11, 2024
1 parent 9f0cd1c commit ec55413
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/burn/drv/taito/d_taitof2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10971,6 +10971,11 @@ static INT32 TaitoF2Frame()
if (i == (nInterleave - 1)) nTaitoCyclesSegment -= 500;
nTaitoCyclesDone[nCurrentCPU] += SekRun(nTaitoCyclesSegment);
if (i == (nInterleave - 1)) {
// draw @ vblank
TaitoF2HandleSpriteBuffering();
if (pBurnDraw) BurnDrvRedraw();
TaitoF2SpriteBufferFunction();

SekSetIRQLine(5, CPU_IRQSTATUS_AUTO);
nTaitoCyclesDone[nCurrentCPU] += SekRun(500);
SekSetIRQLine(6, CPU_IRQSTATUS_AUTO);
Expand All @@ -10997,12 +11002,6 @@ static INT32 TaitoF2Frame()
}
ZetClose();

TaitoF2HandleSpriteBuffering();

if (pBurnDraw) BurnDrvRedraw();

TaitoF2SpriteBufferFunction();

return 0;
}

Expand Down

0 comments on commit ec55413

Please sign in to comment.