From f4fa115c82eaa480bd6a75eecc823bcac9b219c8 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Thu, 8 Mar 2018 00:01:46 +0100 Subject: [PATCH] GSdx: Remove GT3/Concept CRC Hacks. This follows PR #2304. The CRC hacks are no longer needed due to the partial port of channel shuffle on D3D. They cause higher vram spikes now. --- plugins/GSdx/GSHwHack.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/plugins/GSdx/GSHwHack.cpp b/plugins/GSdx/GSHwHack.cpp index e9f04ea845..202bc8f1a7 100644 --- a/plugins/GSdx/GSHwHack.cpp +++ b/plugins/GSdx/GSHwHack.cpp @@ -1269,34 +1269,6 @@ bool GSC_ICO(const GSFrameInfo& fi, int& skip) return true; } -bool GSC_GT3(const GSFrameInfo& fi, int& skip) -{ - // Same issue as GT4??? The GT4 hack removed layer obscuring the screen when the in-game brightness or contrast setting is set to any value but 0. - if(skip == 0) - { - if(fi.TME && fi.FBP >= 0x02de0 && fi.FPSM == PSM_PSMCT32 && (fi.TBP0 == 0x00000 || fi.TBP0 == 0x01180) && fi.TPSM == PSM_PSMT8) - { - skip = 770; - } - } - - return true; -} - -bool GSC_GTConcept(const GSFrameInfo& fi, int& skip) -{ - // Same issue as GSC_GT3/GT4 ??? - if(skip == 0) - { - if(fi.TME && fi.FBP >= 0x03420 && fi.FPSM == PSM_PSMCT32 && (fi.TBP0 == 0x00000 || fi.TBP0 == 0x01400) && fi.TPSM == PSM_PSMT8) - { - skip = 880; - } - } - - return true; -} - bool GSC_SkyGunner(const GSFrameInfo& fi, int& skip) { if(skip == 0) @@ -2380,8 +2352,6 @@ void GSState::SetupCrcHack() lut[CRC::StarWarsBattlefront2] = GSC_StarWarsBattlefront2; lut[CRC::StarWarsBattlefront] = GSC_StarWarsBattlefront; // Dedicated shader for channel effect - lut[CRC::GT3] = GSC_GT3; - lut[CRC::GTConcept] = GSC_GTConcept; lut[CRC::TalesOfAbyss] = GSC_TalesOfAbyss; // RW frame buffer. UserHacks_AutoFlush allow to emulate it correctly