From 6899fc74f98a13b9e48d4f7aa4fcf2e4698658a4 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Thu, 20 Dec 2018 03:05:05 +0100 Subject: [PATCH] GSdx: Purge GSC_HeavyMetalThunder crc hacks. Depth renders effects properly on all renders. --- plugins/GSdx/GSCrc.cpp | 1 - plugins/GSdx/GSCrc.h | 1 - plugins/GSdx/Renderers/HW/GSHwHack.cpp | 21 --------------------- 3 files changed, 23 deletions(-) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index 7e4a8afc71..1d31111af1 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -346,7 +346,6 @@ CRC::Game CRC::m_games[] = {0xE169BAF8, RedDeadRevolver, US, 0}, {0xE2E67E23, RedDeadRevolver, EU, 0}, {0x87844524, RedDeadRevolver, RU, 0}, // Unofficial RU-version - {0xF56C7948, HeavyMetalThunder, JP, 0}, {0x6DF62AEA, BleachBladeBattlers, JP, 0}, {0x6EB71AB0, BleachBladeBattlers, JP, 0}, // 2nd {0x3A446111, CastlevaniaCoD, US, 0}, diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index 640279c195..d35344c108 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -84,7 +84,6 @@ public: HarryPotterATPOA, HarryPotterOOTP, HauntingGround, - HeavyMetalThunder, ICO, IkkiTousen, ItadakiStreet, diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index bca329fa8a..a528bdd32e 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -1067,26 +1067,6 @@ bool GSC_HauntingGround(const GSFrameInfo& fi, int& skip) return true; } -bool GSC_HeavyMetalThunder(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - if(fi.TME && fi.FBP == 0x03100 && fi.FPSM == fi.TPSM && fi.TBP0 == 0x01c00 && fi.TPSM == PSM_PSMZ32) - { - skip = 100; - } - } - else - { - if(fi.TME && fi.FBP == 0x00e00 && fi.FPSM == fi.TPSM && fi.TBP0 == 0x02a00 && fi.TPSM == PSM_PSMCT32) - { - skip = 1; - } - } - - return true; -} - bool GSC_GetaWayGames(const GSFrameInfo& fi, int& skip) { if(skip == 0) @@ -2147,7 +2127,6 @@ void GSState::SetupCrcHack() lut[CRC::Bully] = GSC_Bully; lut[CRC::BullyCC] = GSC_BullyCC; lut[CRC::GodOfWar2] = GSC_GodOfWar2; - lut[CRC::HeavyMetalThunder] = GSC_HeavyMetalThunder; lut[CRC::LordOfTheRingsTwoTowers] = GSC_LordOfTheRingsTwoTowers; lut[CRC::Okami] = GSC_Okami; lut[CRC::SoulCalibur2] = GSC_SoulCaliburGames;