From a30f642860f727dc7cc081eaf71be33c1d2859fa Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sun, 17 Mar 2019 05:34:13 +0100 Subject: [PATCH] gsdx-hw: Purge GSC_NarutimateAccel, GSC_Naruto crc hacks. Naruto Shippuden - Narutimate Accel 3, Naruto - Narutimate Hero 3. Depth effects (shadows) rendered correctly. --- plugins/GSdx/GSCrc.cpp | 3 -- plugins/GSdx/GSCrc.h | 2 -- plugins/GSdx/Renderers/HW/GSHwHack.cpp | 50 +++----------------------- 3 files changed, 5 insertions(+), 50 deletions(-) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index f52bcc4fed..faa92f9af8 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -341,9 +341,6 @@ CRC::Game CRC::m_games[] = {0xC5B75C7C, Oneechanbara2Special, JP, 0}, // cutie comment {0xC725CC6C, Oneechanbara2Special, JP, 0}, {0x07608CA2, Oneechanbara2Special, EU, 0}, // Zombie Hunters 2 - {0xC0659AD1, NarutimateAccel, JP, 0}, // cutie comment - {0xF3D9DFBE, NarutimateAccel, JP, 0}, - {0x59739DDE, Naruto, JP, 0}, // cutie comment {0xE0347841, XenosagaE3, JP, 0}, // cutie comment {0xA4E88698, XenosagaE3, CH, 0}, {0x2088950A, XenosagaE3, US, 0}, diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index e6bb1e30d5..330cd23d94 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -100,8 +100,6 @@ public: MetalSlug6, MidnightClub3, NanoBreaker, - NarutimateAccel, - Naruto, NicktoonsUnite, Okami, Oneechanbara2Special, diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index 19cb9b213b..2913d4dc56 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -432,46 +432,6 @@ bool GSC_Oneechanbara2Special(const GSFrameInfo& fi, int& skip) return true; } -bool GSC_NarutimateAccel(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - if(!fi.TME && fi.FBP == 0x3800 && fi.TBP0 == 0x1E00 && fi.FPSM == 0 && fi.TPSM == 49 && fi.FBMSK == 0xFF000000) - { - skip = 1; - } - } - else - { - if(fi.FBP == 0 && fi.TBP0 == 0x3800 && fi.TME && (fi.FPSM | fi.TPSM) == 0) - { - skip = 1; - } - } - - return true; -} - -bool GSC_Naruto(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - if(!fi.TME && fi.FBP == 0x3800 && fi.TBP0 == 0x1E00 && fi.FPSM == 0 && fi.TPSM == 49 && fi.FBMSK == 0xFF000000) - { - skip = 0; - } - } - else - { - if(fi.FBP == 0 && fi.TBP0 == 0x3800 && fi.TME && (fi.FPSM | fi.TPSM) == 0) - { - skip = 1; - } - } - - return true; -} - bool GSC_SakuraTaisen(const GSFrameInfo& fi, int& skip) { if(skip == 0) @@ -1683,8 +1643,6 @@ void GSState::SetupCrcHack() lut[CRC::Kunoichi] = GSC_Kunoichi; lut[CRC::Manhunt2] = GSC_Manhunt2; lut[CRC::MidnightClub3] = GSC_MidnightClub3; - lut[CRC::NarutimateAccel] = GSC_NarutimateAccel; - lut[CRC::Naruto] = GSC_Naruto; lut[CRC::Onimusha3] = GSC_Onimusha3; lut[CRC::SacredBlaze] = GSC_SacredBlaze; lut[CRC::SakuraTaisen] = GSC_SakuraTaisen; @@ -1713,6 +1671,11 @@ void GSState::SetupCrcHack() // Colclip not supported lut[CRC::LordOfTheRingsThirdAge] = GSC_LordOfTheRingsThirdAge; + // Depth Issue + lut[CRC::BurnoutDominator] = GSC_BurnoutGames; + lut[CRC::BurnoutRevenge] = GSC_BurnoutGames; + lut[CRC::BurnoutTakedown] = GSC_BurnoutGames; + // Half Screen bottom issue lut[CRC::DBZBT2] = GSC_DBZBT2; // Half screen on depth format 16bit lut[CRC::DBZBT3] = GSC_DBZBT3; // Half screen on depth format 16bit @@ -1724,9 +1687,6 @@ void GSState::SetupCrcHack() // Texture shuffle lut[CRC::BigMuthaTruckers] = GSC_BigMuthaTruckers; // + Half screen on texture shuffle - lut[CRC::BurnoutDominator] = GSC_BurnoutGames; // Could be a depth effect too - lut[CRC::BurnoutRevenge] = GSC_BurnoutGames; // Could be a depth effect too - lut[CRC::BurnoutTakedown] = GSC_BurnoutGames; // Could be a depth effect too lut[CRC::DeathByDegreesTekkenNinaWilliams] = GSC_DeathByDegreesTekkenNinaWilliams; // + Upscaling issues lut[CRC::SonicUnleashed] = GSC_SonicUnleashed; // + Half screen on texture shuffle