From 9a5225dfdf77eaf2021a2ee5c576b1a028202c66 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sun, 5 May 2019 23:37:18 +0200 Subject: [PATCH] gsdx-hw: Purge GSC_SimpsonsGame crc hacks. Upscaling issue can be resolved with Half Pixel Offset Normal. --- plugins/GSdx/GSCrc.cpp | 7 ------- plugins/GSdx/GSCrc.h | 1 - plugins/GSdx/Renderers/HW/GSHwHack.cpp | 17 ----------------- 3 files changed, 25 deletions(-) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index 43b55bf067..dd96fb9666 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -229,13 +229,6 @@ CRC::Game CRC::m_games[] = {0xAA5EC3A3, TalesOfAbyss, JP, 0}, {0xFB236A46, SonicUnleashed, US, 0}, {0x8C913264, SonicUnleashed, EU, 0}, - {0x5C1EBD61, SimpsonsGame, EU, 0}, - {0x5C1EBF61, SimpsonsGame, FR, 0}, - {0x4C7BB3C8, SimpsonsGame, NoRegion, 0}, - {0x4C94B32C, SimpsonsGame, NoRegion, 0}, - {0x565B7E04, SimpsonsGame, IT, 0}, - {0x206779D8, SimpsonsGame, EU, 0}, - {0xBBE4D862, SimpsonsGame, US, 0}, {0xD71B57F4, Genji, US, 0}, {0xFADEBC45, Genji, EU, 0}, {0xB4776FC1, Genji, JP, 0}, diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index 22297db70f..d7b0330e21 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -123,7 +123,6 @@ public: ShinOnimusha, Shox, Simple2000Vol114, - SimpsonsGame, SkyGunner, Sly2, Sly3, diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index c44e621882..904e0ec11e 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -1381,22 +1381,6 @@ bool GSC_ShinOnimusha(const GSFrameInfo& fi, int& skip) return true; } -bool GSC_SimpsonsGame(const GSFrameInfo& fi, int& skip) -{ - if(skip == 0) - { - if(fi.TME && fi.FBP == 0x03000 && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT8H) - { - // Removes character outlines, similar to DBZ BT3. - // Upscaling causes the outlines to be out of place but can be fixed with TC Offsets. - // The hack can be used to increase slight performance. - skip = 2; - } - } - - return true; -} - //////////////////////////////////////////////////////////////////////////////// #ifdef ENABLE_DYNAMIC_CRC_HACK @@ -1659,7 +1643,6 @@ void GSState::SetupCrcHack() lut[CRC::GodOfWar] = GSC_GodOfWar; lut[CRC::GTASanAndreas] = GSC_GTASanAndreas; // RW frame buffer. UserHacks_AutoFlush allow to emulate it correctly. Can be used as an upscaling hack. lut[CRC::Okami] = GSC_Okami; - lut[CRC::SimpsonsGame] = GSC_SimpsonsGame; } m_gsc = lut[m_game.title];