From 608d43898de4efa92fa440f8f9c9f3f656eb3611 Mon Sep 17 00:00:00 2001 From: raven02 Date: Wed, 23 Apr 2014 20:19:44 +0800 Subject: [PATCH] Remove AlphaMaskHack --- GPU/GLES/StateMapping.cpp | 3 --- UI/GameSettingsScreen.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index c89173fadf..47cd3a49c9 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -444,9 +444,6 @@ void TransformDrawEngine::ApplyDrawState(int prim) { amask = false; } } - if (g_Config.bAlphaMaskHack) { - amask = true; // Yes, this makes no sense, but it "fixes" the 3rd Birthday by popular demand. - } glstate.colorMask.set(rmask, gmask, bmask, amask); diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index a0ca036523..29d97b33f1 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -190,7 +190,6 @@ void GameSettingsScreen::CreateViews() { graphicsSettings->Add(new ItemHeader(gs->T("Hack Settings", "Hack Settings (these WILL cause glitches)"))); graphicsSettings->Add(new CheckBox(&g_Config.bTimerHack, gs->T("Timer Hack"))); graphicsSettings->Add(new CheckBox(&g_Config.bDisableStencilTest, gs->T("Disable Stencil Test"))); - graphicsSettings->Add(new CheckBox(&g_Config.bAlphaMaskHack, gs->T("Alpha Mask Hack (3rd Birthday)"))); graphicsSettings->Add(new CheckBox(&g_Config.bAlwaysDepthWrite, gs->T("Always Depth Write"))); CheckBox *prescale = graphicsSettings->Add(new CheckBox(&g_Config.bPrescaleUV, gs->T("Texture Coord Speedhack"))); if (PSP_IsInited())