From 697aa5e4b7fd5163c034ec4c3d8c9a514fd40a99 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Thu, 20 Dec 2018 13:22:12 +0100 Subject: [PATCH] GSdx: Purge GSC_SpyroNewBeginning, GSC_SpyroEternalNight crc hacks. Effect correctly emulated with texture shuffle on all renders. --- plugins/GSdx/GSCrc.cpp | 5 ----- plugins/GSdx/GSCrc.h | 2 -- plugins/GSdx/Renderers/HW/GSHwHack.cpp | 28 -------------------------- 3 files changed, 35 deletions(-) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index 2b88681b04..e03dba22f9 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -422,11 +422,6 @@ CRC::Game CRC::m_games[] = {0x4A0E5B3A, MidnightClub3, US, 0}, // dub {0xEBE1972D, MidnightClub3, EU, 0}, // dub {0x60A42FF5, MidnightClub3, US, 0}, // remix - {0xD03D4C77, SpyroNewBeginning, US, 0}, - {0x0EE5646B, SpyroNewBeginning, EU, 0}, - {0xB80CE8EC, SpyroEternalNight, US, 0}, - {0x8AE9536D, SpyroEternalNight, EU, 0}, - {0xC95F0198, SpyroEternalNight, NoRegion, 0}, {0x43AB7214, TalesOfLegendia, US, 0}, {0x1F8640E0, TalesOfLegendia, JP, 0}, {0xE4F5DA2B, TalesOfLegendia, KO, 0}, diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index 41563320e2..275fdaf9cb 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -147,8 +147,6 @@ public: SoTC, SoulReaver2, Spartan, - SpyroEternalNight, - SpyroNewBeginning, StarOcean3, StarWarsForceUnleashed, SteambotChronicles, diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index 838ad2a072..e753212a40 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -1587,32 +1587,6 @@ bool GSC_CrashNburn(const GSFrameInfo& fi, int& skip) return true; } -bool GSC_SpyroNewBeginning(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - if(fi.TME && fi.FBP == fi.TBP0 && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x034a0 || fi.TBP0 == 0x03020) && fi.TPSM == PSM_PSMCT16) - { - skip = 2; - } - } - - return true; -} - -bool GSC_SpyroEternalNight(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - if(fi.TME && fi.FBP == fi.TBP0 && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x034a0 || fi.TBP0 == 0x035a0 || fi.TBP0 == 0x036e0) && fi.TPSM == PSM_PSMCT16) - { - skip = 2; - } - } - - return true; -} - bool GSC_XE3(const GSFrameInfo& fi, int& skip) { if(skip == 0) @@ -2096,8 +2070,6 @@ void GSState::SetupCrcHack() lut[CRC::LegoBatman] = GSC_LegoBatman; lut[CRC::OnePieceGrandAdventure] = GSC_OnePieceGrandAdventure; lut[CRC::OnePieceGrandBattle] = GSC_OnePieceGrandBattle; - lut[CRC::SpyroEternalNight] = GSC_SpyroEternalNight; - lut[CRC::SpyroNewBeginning] = GSC_SpyroNewBeginning; // Those games might requires accurate fbmask lut[CRC::Sly2] = GSC_Sly2;