Fix flickering score & player status in Sunset Riders (konami/d_tmnt.cpp)
This commit is contained in:
parent
7fe1e11e4e
commit
8f6f9a42e2
|
@ -5813,7 +5813,7 @@ static INT32 SsridersFrame()
|
||||||
SsridersMakeInputs();
|
SsridersMakeInputs();
|
||||||
|
|
||||||
nCyclesTotal[0] = 16000000 / 60;
|
nCyclesTotal[0] = 16000000 / 60;
|
||||||
nCyclesTotal[1] = 4000000 / 60;
|
nCyclesTotal[1] = 8000000 / 60;
|
||||||
nCyclesDone[0] = nCyclesDone[1] = 0;
|
nCyclesDone[0] = nCyclesDone[1] = 0;
|
||||||
|
|
||||||
SekNewFrame();
|
SekNewFrame();
|
||||||
|
@ -5829,8 +5829,8 @@ static INT32 SsridersFrame()
|
||||||
nCyclesSegment = nNext - nCyclesDone[nCurrentCPU];
|
nCyclesSegment = nNext - nCyclesDone[nCurrentCPU];
|
||||||
nCyclesDone[nCurrentCPU] += SekRun(nCyclesSegment);
|
nCyclesDone[nCurrentCPU] += SekRun(nCyclesSegment);
|
||||||
if (i == 19) DrvVBlank = 0;
|
if (i == 19) DrvVBlank = 0;
|
||||||
if (i == 243) DrvVBlank = 1;
|
if (i == 235) DrvVBlank = 1;
|
||||||
if (i == 243 && K052109_irq_enabled) SekSetIRQLine(4, SEK_IRQSTATUS_AUTO);
|
if (i == 235 && K052109_irq_enabled) SekSetIRQLine(4, SEK_IRQSTATUS_AUTO);
|
||||||
SekClose();
|
SekClose();
|
||||||
|
|
||||||
// Run Z80
|
// Run Z80
|
||||||
|
|
Loading…
Reference in New Issue