From 13ff9ab7dbc22cf41e0edf3f8cedbdf19047efc3 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Tue, 25 Aug 2020 16:57:47 +0200 Subject: [PATCH] gsdx-hw: Purge TimeSplitters2 crc hack. Not needed anymore. See https://github.com/PCSX2/pcsx2/issues/3568#issuecomment-663927379 --- plugins/GSdx/GSCrc.cpp | 3 --- plugins/GSdx/GSCrc.h | 1 - plugins/GSdx/Renderers/HW/GSHwHack.cpp | 14 -------------- 3 files changed, 18 deletions(-) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index 8a85351ee5..3383557e7a 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -293,9 +293,6 @@ CRC::Game CRC::m_games[] = {0x90F0D852, BigMuthaTruckers, US, 0}, {0x92624842, BigMuthaTruckers, US, 0}, {0xDD93DA88, BigMuthaTruckers, JP, 0}, // Bakusou Convoy Densetsu - Otoko Hanamichi America Roman - {0x5CC9BF81, TimeSplitters2, EU, 0}, - {0x12532F1C, TimeSplitters2, US, 0}, - {0xC01FD223, TimeSplitters2, KO, 0}, {0xEB198738, LordOfTheRingsThirdAge, US, 0}, {0x614F4CF4, LordOfTheRingsThirdAge, EU, 0}, {0x37CD4279, LordOfTheRingsThirdAge, KO, 0}, diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index a2673dc9d6..a969e9c93e 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -138,7 +138,6 @@ public: TenchuFS, TenchuWoH, TheIncredibleHulkUD, - TimeSplitters2, TombRaiderAnniversary, TombRaiderLegend, TombRaiderUnderworld, diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index b09f6a17f7..6680bbe91d 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -421,19 +421,6 @@ bool GSC_SFEX3(const GSFrameInfo& fi, int& skip) return true; } -bool GSC_TimeSplitters2(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00e00 || fi.FBP == 0x01000) && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x00000 || fi.TBP0 == 0x00e00 || fi.TBP0 == 0x01000) && fi.TPSM == PSM_PSMCT32 && fi.FBMSK == 0x0FF000000) - { - skip = 1; - } - } - - return true; -} - bool GSC_LordOfTheRingsThirdAge(const GSFrameInfo& fi, int& skip) { if(skip == 0) @@ -1348,7 +1335,6 @@ void GSState::SetupCrcHack() lut[CRC::SFEX3] = GSC_SFEX3; lut[CRC::TalesOfLegendia] = GSC_TalesOfLegendia; lut[CRC::TalesofSymphonia] = GSC_TalesofSymphonia; - lut[CRC::TimeSplitters2] = GSC_TimeSplitters2; lut[CRC::TombRaiderAnniversary] = GSC_TombRaiderAnniversary; lut[CRC::TombRaiderLegend] = GSC_TombRaiderLegend; lut[CRC::TombRaiderUnderworld] = GSC_TombRaiderUnderWorld;