From f8310e0a35e6feca6c1acd8dca891938a440031a Mon Sep 17 00:00:00 2001 From: Mrlinkwii Date: Sat, 18 Mar 2023 11:45:32 +0000 Subject: [PATCH] GS/CRC : purge Yakuza CRC hack --- pcsx2/GS/Renderers/HW/GSHwHack.cpp | 19 ------------------- pcsx2/GS/Renderers/HW/GSHwHack.h | 1 - 2 files changed, 20 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSHwHack.cpp b/pcsx2/GS/Renderers/HW/GSHwHack.cpp index 4aa6fdc3d4..b8b0b243b8 100644 --- a/pcsx2/GS/Renderers/HW/GSHwHack.cpp +++ b/pcsx2/GS/Renderers/HW/GSHwHack.cpp @@ -578,24 +578,6 @@ bool GSHwHack::GSC_SteambotChronicles(GSRendererHW& r, const GSFrameInfo& fi, in return true; } -bool GSHwHack::GSC_YakuzaGames(GSRendererHW& r, const GSFrameInfo& fi, int& skip) -{ - if (skip == 0) - { - if (!s_nativeres && !fi.TME && (fi.FBP == 0x1c20 || fi.FBP == 0x1e20 || fi.FBP == 0x1620) && (fi.TBP0 == 0xe00 || fi.TBP0 == 0x1000 || fi.TBP0 == 0x800) && fi.TPSM == PSM_PSMZ24 && fi.FPSM == PSM_PSMCT32 - /*&& fi.FBMSK == 0xffffff && fi.TZTST && !GSUtil::HasSharedBits(fi.FBP, fi.FPSM, fi.TBP0, fi.TPSM)*/) - { - // Don't enable hack on native res if crc is below aggressive. - // Upscaling issues, removes glow/blur effect which fixes ghosting. - // Skip 3 removes most of the post effect which doesn't upscale well, but causes a depth effect to completely mess up. - // Skip 9 removes both the depth and blur effect, which seems to work okay. - skip = 9; - } - } - - return true; -} - //////////////////////////////////////////////////////////////////////////////// // Full level, correctly emulated on OpenGL/Vulkan but can be used as potential speed hack //////////////////////////////////////////////////////////////////////////////// @@ -1229,7 +1211,6 @@ const GSHwHack::Entry GSHwHack::s_get_skip_count_function // Upscaling hacks CRC_F(GSC_UltramanFightingEvolution, CRCHackLevel::Partial), - CRC_F(GSC_YakuzaGames, CRCHackLevel::Partial), // Accurate Blending CRC_F(GSC_GetawayGames, CRCHackLevel::Full), // Blending High diff --git a/pcsx2/GS/Renderers/HW/GSHwHack.h b/pcsx2/GS/Renderers/HW/GSHwHack.h index 9b4f750e81..2898edf753 100644 --- a/pcsx2/GS/Renderers/HW/GSHwHack.h +++ b/pcsx2/GS/Renderers/HW/GSHwHack.h @@ -43,7 +43,6 @@ public: static bool GSC_Simple2000Vol114(GSRendererHW& r, const GSFrameInfo& fi, int& skip); static bool GSC_UrbanReign(GSRendererHW& r, const GSFrameInfo& fi, int& skip); static bool GSC_SteambotChronicles(GSRendererHW& r, const GSFrameInfo& fi, int& skip); - static bool GSC_YakuzaGames(GSRendererHW& r, const GSFrameInfo& fi, int& skip); static bool GSC_GetawayGames(GSRendererHW& r, const GSFrameInfo& fi, int& skip); static bool GSC_AceCombat4(GSRendererHW& r, const GSFrameInfo& fi, int& skip); static bool GSC_FFXGames(GSRendererHW& r, const GSFrameInfo& fi, int& skip);