mirror of
https://github.com/libretro/FBNeo.git
synced 2024-11-24 01:19:46 +00:00
Reverted CPS-2 VBlank timing, broke rasters in lower Manhattan stage of xmvsf, and probably others
This commit is contained in:
parent
72d50507e7
commit
fd7860c0d6
@ -423,13 +423,14 @@ INT32 Cps2Frame()
|
||||
// nCpsCyclesSegment[0] = (nCpsCycles * nVBlank) / 0x0106;
|
||||
// nDone += SekRun(nCpsCyclesSegment[0] - nDone);
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
// This triggers the VBlank IRQ straight away at display end,
|
||||
// it causes glitches in the D&D games text (Press Start, Insert Coin, etc)
|
||||
SekSetIRQLine(2, SEK_IRQSTATUS_AUTO); // VBlank
|
||||
SekRun(nCpsCycles - SekTotalCycles());
|
||||
#else
|
||||
// Here we delay the VBlank IRQ until frame-end, or part-way through VBlank
|
||||
// fixes D&D glitching credit text but breaks lower Manhattan stage rasters in xmvsf
|
||||
SekRun(nCpsCycles - SekTotalCycles());
|
||||
SekSetIRQLine(2, SEK_IRQSTATUS_AUTO); // VBlank
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user