From 601d18272b7005f7290ff3cc2b8708551e397d8a Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Sat, 5 Dec 2015 02:07:27 +0100 Subject: [PATCH] Small fix to the timing revert: need to use gsRegionMode now since scansPerFrame isn't fixed anymore. (NTSC modes would fail to update the vblank variable) --- pcsx2/Counters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/Counters.cpp b/pcsx2/Counters.cpp index ff9c993993..ef42582cdb 100644 --- a/pcsx2/Counters.cpp +++ b/pcsx2/Counters.cpp @@ -198,7 +198,7 @@ static void vSyncInfoCalc(vSyncTimingInfo* info, Fixed100 framesPerSecond, u32 s u64 HalfFrame = Frame / 2; u64 Blank = (Frame / scansPerFrame) * 22; // PAL VBlank Period is roughly 22 HSyncs - if (scansPerFrame == SCANLINES_TOTAL_NTSC) + if (gsRegionMode == Region_NTSC) Blank = (Frame / scansPerFrame) * 26; // NTSC VBlank Period is roughly 26 HSyncs, so we update //I would have suspected this to be Frame - Blank, but that seems to completely freak it out