Fix gaps in the background tiles of Tokio[b] due to irq0 fireing too late in the frame

This commit is contained in:
dinkc64 2014-07-18 03:51:24 +00:00
parent 36a2fc0053
commit c9a2bd75a7
1 changed files with 4 additions and 4 deletions

View File

@ -2531,8 +2531,8 @@ static INT32 TokioFrame()
nCyclesSegment = nNext - nCyclesDone[nCurrentCPU];
nCyclesSegment = ZetRun(nCyclesSegment);
nCyclesDone[nCurrentCPU] += nCyclesSegment;
if (i == 98) ZetSetIRQLine(0, ZET_IRQSTATUS_ACK);
if (i == 99) ZetSetIRQLine(0, ZET_IRQSTATUS_NONE);
if (i == 90) ZetSetIRQLine(0, ZET_IRQSTATUS_ACK);
if (i == 91) ZetSetIRQLine(0, ZET_IRQSTATUS_NONE);
ZetClose();
// Run Z80 #2
@ -2542,8 +2542,8 @@ static INT32 TokioFrame()
nCyclesSegment = nNext - nCyclesDone[nCurrentCPU];
nCyclesSegment = ZetRun(nCyclesSegment);
nCyclesDone[nCurrentCPU] += nCyclesSegment;
if (i == 98) ZetSetIRQLine(0, ZET_IRQSTATUS_ACK);
if (i == 99) ZetSetIRQLine(0, ZET_IRQSTATUS_NONE);
if (i == 90) ZetSetIRQLine(0, ZET_IRQSTATUS_ACK);
if (i == 91) ZetSetIRQLine(0, ZET_IRQSTATUS_NONE);
ZetClose();
// Run Z80 #3