Counters/GS: Adjust FIELD swap timing for PAL

Console tests show about 3 PAL scanlines of time.
This commit is contained in:
refractionpcsx2 2022-06-13 03:59:19 +01:00
parent 0239d8350d
commit 44b672b6f5
1 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ static void vSyncInfoCalc(vSyncTimingInfo* info, double framesPerSecond, u32 sca
const u64 HalfFrame = Frame / 2;
const u64 Blank = Scanline * ((gsVideoMode == GS_VideoMode::NTSC ? 22 : 25) + static_cast<int>(gsIsInterlaced));
const u64 Render = HalfFrame - Blank;
const u64 GSBlank = Scanline * 3.5; // GS VBlank/CSR Swap happens roughly 3.5 Scanlines after VBlank Start
const u64 GSBlank = Scanline * (gsVideoMode == GS_VideoMode::NTSC ? 3.5 : 3); // GS VBlank/CSR Swap happens roughly 3.5(NTSC) and 3(PAL) Scanlines after VBlank Start
// Important! The hRender/hBlank timers should be 50/50 for best results.
// (this appears to be what the real EE's timing crystal does anyway)