topspeed: sort the last graphic glitch by tweaking timing a bit more

This commit is contained in:
dinkc64 2016-08-05 03:28:32 +00:00
parent 11b86a66b5
commit 3cf99f2720
1 changed files with 4 additions and 2 deletions

View File

@ -6043,7 +6043,8 @@ static INT32 TopspeedFrame()
nNext = (i + 1) * nTaitoCyclesTotal[nCurrentCPU] / nInterleave;
nTaitoCyclesSegment = nNext - nTaitoCyclesDone[nCurrentCPU];
nTaitoCyclesDone[nCurrentCPU] += SekRun(nTaitoCyclesSegment);
if (i == (nInterleave - 26)) SekSetIRQLine(6, CPU_IRQSTATUS_AUTO);
if (i == (nInterleave - 1) && (GetCurrentFrame > 0)) SekSetIRQLine(6, CPU_IRQSTATUS_AUTO);
if (i == (nInterleave - 6)) SekSetIRQLine(5, CPU_IRQSTATUS_AUTO);
SekClose();
// Run 68000 # 2
@ -6053,7 +6054,8 @@ static INT32 TopspeedFrame()
nNext = (i + 1) * nTaitoCyclesTotal[nCurrentCPU] / nInterleave;
nTaitoCyclesSegment = nNext - nTaitoCyclesDone[nCurrentCPU];
nTaitoCyclesDone[nCurrentCPU] += SekRun(nTaitoCyclesSegment);
if (i == (nInterleave - 26)) SekSetIRQLine(TaitoIrqLine, CPU_IRQSTATUS_AUTO);
if (i == (nInterleave - 1) && (GetCurrentFrame > 0)) SekSetIRQLine(6, CPU_IRQSTATUS_AUTO);
if (i == (nInterleave - 6)) SekSetIRQLine(TaitoIrqLine, CPU_IRQSTATUS_AUTO);
SekClose();
}