Skip to content
Permalink
Browse files

PCSX2: Avoid enabling VuClipFlag at some scenarios

VuClipFlag hack is only used for SuperVU1 Recompiler, let's avoid enabling it when it's not used.

Previously a console message would be provided stating that "(GameDB) Enabled Gamefix: VuClipFlagHack" even when the user is using the Interpreter (or) MicroVU Recompiler. The following patch prevents such confusions.
  • Loading branch information...
ssakash committed Sep 30, 2016
1 parent 90531f8 commit 7106909d3fa7cccfb9da5c3198eca77f3a0255fe
Showing with 4 additions and 0 deletions.
  1. +4 −0 pcsx2/gui/AppCoreThread.cpp
@@ -277,6 +277,10 @@ static int loadGameSettings(Pcsx2Config& dest, const Game_Data& game) {

if (game.keyExists(key))
{
// VuClipFlag hack is only used by the SuperVu1 Recompiler.
if (id == Fix_VuClipFlag && (!g_Conf->EmuOptions.Cpu.Recompiler.EnableVU1 || g_Conf->EmuOptions.Cpu.Recompiler.UseMicroVU1))
continue;

bool enableIt = game.getBool(key);
dest.Gamefixes.Set(id, enableIt);
PatchesCon->WriteLn(L"(GameDB) %s Gamefix: " + key, enableIt ? L"Enabled" : L"Disabled");

0 comments on commit 7106909

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.