From 51fe6c20cada900859dd1c204042fdc2a1bf5a81 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Thu, 17 Jan 2019 07:34:53 +0100 Subject: [PATCH] GSdx: Adjust dbz bt glow/blur crc hack. Don't enable hack on native res if crc(ntsc only) is below aggressive. Note for future so I don't forget: This hack can be disabled if depth hack is also disabled. --- plugins/GSdx/Renderers/HW/GSHwHack.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index 293f2b66ef..9761eb729b 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -93,10 +93,11 @@ bool GSC_DBZBT2(const GSFrameInfo& fi, int& skip) skip = 4; } } - else if(!fi.TME && (fi.FBP == 0x02a00 || fi.FBP == 0x03000) && fi.FPSM == PSM_PSMCT16) + else if((g_crc_region == CRC::EU || Aggressive || !s_nativeres) && !fi.TME && (fi.FBP == 0x02a00 || fi.FBP == 0x03000) && fi.FPSM == PSM_PSMCT16) { // Character outlines. // Glow/blur effect. Causes ghosting on upscaled resolution. + // Don't enable hack on native res if crc(ntsc only) is below aggressive. skip = 10; } } @@ -125,10 +126,11 @@ bool GSC_DBZBT3(const GSFrameInfo& fi, int& skip) skip = 4; } } - else if(fi.TME && (fi.FBP == 0x03400 || fi.FBP == 0x02e00) && fi.FPSM == fi.TPSM && fi.TBP0 == 0x03f00 && fi.TPSM == PSM_PSMCT32) + else if((g_crc_region == CRC::EU || Aggressive || !s_nativeres) && fi.TME && (fi.FBP == 0x03400 || fi.FBP == 0x02e00) && fi.FPSM == fi.TPSM && fi.TBP0 == 0x03f00 && fi.TPSM == PSM_PSMCT32) { // Ghosting/Blur effect. Upscaling issue. // Can be fixed with TC X,Y offsets. + // Don't enable hack on native res if crc(ntsc only) is below aggressive. skip = 3; } }