From 08bae3da2ec101cdf8d28d9a84847331e6988c2c Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Tue, 31 Jan 2023 10:19:49 +0000 Subject: [PATCH] GS: Fix h/vsync counters on mode change/sync. --- pcsx2/Counters.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pcsx2/Counters.cpp b/pcsx2/Counters.cpp index 710be1d606..7c10ff6c4c 100644 --- a/pcsx2/Counters.cpp +++ b/pcsx2/Counters.cpp @@ -461,7 +461,9 @@ u32 UpdateVSyncRate() hsyncCounter.CycleT = vSyncInfo.hRender; // Amount of cycles before the counter will be updated vsyncCounter.CycleT = vSyncInfo.Render; // Amount of cycles before the counter will be updated - + hsyncCounter.sCycle = cpuRegs.cycle; + vsyncCounter.sCycle = cpuRegs.cycle; + vsyncCounter.Mode = MODE_VRENDER; cpuRcntSet(); }