From 8307cfc54d40b30646f0c39c9f72d9f49d41e104 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sat, 1 Dec 2018 16:06:36 +0100 Subject: [PATCH] GSdx: Ease crc hack for DBZ BT2. Fixes ground corrupt textures caused by the hack on the EU version. US works fine with skip 5 but not 4. Didn't spot any regressions on both so far. Might need extra testing by users. --- plugins/GSdx/Renderers/HW/GSHwHack.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index 684d2a140c..819498fd01 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -66,9 +66,14 @@ bool GSC_DBZBT2(const GSFrameInfo& fi, int& skip) { // Alpha channel (red line issue has been fixed). // Sky texture (Depth) is properly rendered on OpenGL only for the NTSC version. The PAL version still has some issues (half screen bottom issue). - if (g_crc_region == CRC::EU || Dx_only) + if (g_crc_region == CRC::EU) { - skip = 26; + skip = 5; + } + else + { + if (Dx_only) + skip = 4; } } else if(!fi.TME && (fi.FBP == 0x02a00 || fi.FBP == 0x03000) && fi.FPSM == PSM_PSMCT16)