From 8b9af2c21bfeb1eea6e0b80575b8358920645f9c Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Thu, 2 Nov 2023 11:55:56 +0000 Subject: [PATCH] VU: Avoid overclocking when VUSync fix is enabled --- pcsx2/x86/microVU_Compile.inl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/x86/microVU_Compile.inl b/pcsx2/x86/microVU_Compile.inl index 9c2b8db67c..bc655bffa3 100644 --- a/pcsx2/x86/microVU_Compile.inl +++ b/pcsx2/x86/microVU_Compile.inl @@ -464,7 +464,8 @@ void mVUtestCycles(microVU& mVU, microFlagCycles& mFC) { iPC = mVUstartPC; - if (isVU0 && EmuConfig.Speedhacks.EECycleRate != 0) + // If the VUSyncHack is on, we want the VU to run behind, to avoid conditions where the VU is sped up. + if (isVU0 && EmuConfig.Speedhacks.EECycleRate != 0 && (!EmuConfig.Gamefixes.VUSyncHack || EmuConfig.Speedhacks.EECycleRate < 0)) { switch (std::min(static_cast(EmuConfig.Speedhacks.EECycleRate), static_cast(mVUcycles))) {