From 106c678cc1a04c73f0c458a9ac6b7313628fcb35 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sun, 13 Jan 2019 17:33:08 +0100 Subject: [PATCH] GSdx: Purge GSC_EternalPoison crc hacks. Shadows are better rendered now with hdr colclip, blending is still needed but the shadow's shape is proper now so let's purge the hack. --- plugins/GSdx/GSCrc.cpp | 2 -- plugins/GSdx/GSCrc.h | 1 - plugins/GSdx/Renderers/HW/GSHwHack.cpp | 16 ---------------- 3 files changed, 19 deletions(-) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index d5e43a60e4..a8c494c357 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -353,8 +353,6 @@ CRC::Game CRC::m_games[] = {0xC0659AD1, NarutimateAccel, JP, 0}, // cutie comment {0xF3D9DFBE, NarutimateAccel, JP, 0}, {0x59739DDE, Naruto, JP, 0}, // cutie comment - {0xF7786EE4, EternalPoison, JP, 0}, // cutie comment - {0x2BE55519, EternalPoison, US, 0}, {0xE01F57EC, LegoBatman, US, 0}, // cutie comment {0xE01F57ED, LegoBatman, EU, 0}, {0xE0347841, XenosagaE3, JP, 0}, // cutie comment diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index b073f80faf..96548d34b3 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -55,7 +55,6 @@ public: DestroyAllHumans2, DevilMayCry3, DuelSaviorDestiny, - EternalPoison, EvangelionJo, FFX, FFX2, diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index d416e10a59..293f2b66ef 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -1041,21 +1041,6 @@ bool GSC_SteambotChronicles(const GSFrameInfo& fi, int& skip) // Correctly emulated on OpenGL but can be used as potential speed hack //////////////////////////////////////////////////////////////////////////////// -bool GSC_EternalPoison(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - // Texture shuffle or hdr colclip ??? - if(fi.TPSM == PSM_PSMCT16S && fi.TBP0 == 0x3200) - { - // Removes shadows. - skip = 1; - } - } - - return true; -} - bool GSC_HauntingGround(const GSFrameInfo& fi, int& skip) { if(skip == 0) @@ -1923,7 +1908,6 @@ void GSState::SetupCrcHack() // Not tested but must be fixed with texture shuffle lut[CRC::CrashNburn] = GSC_CrashNburn; // seem to be a basic depth effect - lut[CRC::EternalPoison] = GSC_EternalPoison; lut[CRC::LegoBatman] = GSC_LegoBatman; // Those games might requires accurate fbmask