Merge branch 'master' of https://github.com/finalburnneo/FBNeo into finalburnneo-master

This commit is contained in:
barbudreadmon 2024-11-12 10:51:09 +01:00
commit 5ec508b3b7

View File

@ -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);
@ -10997,12 +11002,6 @@ static INT32 TaitoF2Frame()
}
ZetClose();
TaitoF2HandleSpriteBuffering();
if (pBurnDraw) BurnDrvRedraw();
TaitoF2SpriteBufferFunction();
return 0;
}