From 147881925894d8eab21700abc47627b584b03c07 Mon Sep 17 00:00:00 2001 From: Mrlinkwii Date: Sat, 6 Aug 2022 14:50:22 +0100 Subject: [PATCH] GS-hw: Purge SkyGunner crc hacks. --- pcsx2/GS/GSCrc.cpp | 6 ------ pcsx2/GS/GSCrc.h | 1 - pcsx2/GS/Renderers/HW/GSHwHack.cpp | 14 -------------- 3 files changed, 21 deletions(-) diff --git a/pcsx2/GS/GSCrc.cpp b/pcsx2/GS/GSCrc.cpp index 83bac6ada9..1e9d0fbb1c 100644 --- a/pcsx2/GS/GSCrc.cpp +++ b/pcsx2/GS/GSCrc.cpp @@ -255,12 +255,6 @@ const CRC::Game CRC::m_games[] = {0x97E9C87E, YakuzaGames, US, 0}, // Yakuza2 {0xB1EBD841, YakuzaGames, US, 0}, // Yakuza2 {0xC6B95C48, YakuzaGames, JP, 0}, // Yakuza2 - {0x9000252A, SkyGunner, JP, 0}, - {0x93092623, SkyGunner, JP, 0}, - {0xA9461CB2, SkyGunner, US, 0}, - {0xC71DE999, SkyGunner, US, 0}, // Regular Demo - {0xAADF3287, SkyGunner, US, 0}, // Trade Demo - {0xB799A60C, SkyGunner, NoRegion, 0}, {0x2905C5C6, ZettaiZetsumeiToshi2, US, 0}, // Raw Danger! {0xC988ECBB, ZettaiZetsumeiToshi2, JP, 0}, {0x90F4B057, ZettaiZetsumeiToshi2, CH, 0}, diff --git a/pcsx2/GS/GSCrc.h b/pcsx2/GS/GSCrc.h index 452ff5893a..19e40bbc04 100644 --- a/pcsx2/GS/GSCrc.h +++ b/pcsx2/GS/GSCrc.h @@ -62,7 +62,6 @@ public: ShadowofRome, ShinOnimusha, Simple2000Vol114, - SkyGunner, SMTNocturne, SonicUnleashed, Spartan, diff --git a/pcsx2/GS/Renderers/HW/GSHwHack.cpp b/pcsx2/GS/Renderers/HW/GSHwHack.cpp index 775d350d67..3698d6d839 100644 --- a/pcsx2/GS/Renderers/HW/GSHwHack.cpp +++ b/pcsx2/GS/Renderers/HW/GSHwHack.cpp @@ -623,19 +623,6 @@ bool GSC_UrbanReign(const GSFrameInfo& fi, int& skip) return true; } -bool GSC_SkyGunner(const GSFrameInfo& fi, int& skip) -{ - if (skip == 0) - { - if (!fi.TME && !(fi.FBP == 0x0 || fi.FBP == 0x00800 || fi.FBP == 0x008c0 || fi.FBP == 0x03e00) && fi.FPSM == PSM_PSMCT32 && (fi.TBP0 == 0x0 || fi.TBP0 == 0x01800) && fi.TPSM == PSM_PSMCT32) - { - skip = 1; // Huge Vram usage - } - } - - return true; -} - bool GSC_SteambotChronicles(const GSFrameInfo& fi, int& skip) { if (skip == 0) @@ -896,7 +883,6 @@ void GSState::SetupCrcHack() // Channel Effect lut[CRC::CrashBandicootWoC] = GSC_CrashBandicootWoC; lut[CRC::GiTS] = GSC_GiTS; - lut[CRC::SkyGunner] = GSC_SkyGunner; // Maybe not a channel effect lut[CRC::Spartan] = GSC_Spartan; lut[CRC::SteambotChronicles] = GSC_SteambotChronicles;