mirror of https://github.com/PCSX2/pcsx2.git
VU: Avoid overclocking when VUSync fix is enabled
This commit is contained in:
parent
50872438e9
commit
8b9af2c21b
|
@ -464,7 +464,8 @@ void mVUtestCycles(microVU& mVU, microFlagCycles& mFC)
|
||||||
{
|
{
|
||||||
iPC = mVUstartPC;
|
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<int>(EmuConfig.Speedhacks.EECycleRate), static_cast<int>(mVUcycles)))
|
switch (std::min(static_cast<int>(EmuConfig.Speedhacks.EECycleRate), static_cast<int>(mVUcycles)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue