From 0901f0a8482cca61f7b0749c8af57507d38fd11e Mon Sep 17 00:00:00 2001 From: lightningterror Date: Thu, 20 Dec 2018 18:31:53 +0100 Subject: [PATCH] GSdx: Remove some crc hacks for GSC_IkkiTousen. Remove depth hacks that skipped shadow rendering, shadows work properly on all renders. Upscaling hack needs to be further tested. --- plugins/GSdx/Renderers/HW/GSHwHack.cpp | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index 62900d4d22..934d37934a 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -278,21 +278,11 @@ bool GSC_IkkiTousen(const GSFrameInfo& fi, int& skip) { if(skip == 0) { - if(Dx_only && fi.TME && fi.FBP == 0x00a80 && fi.FPSM == PSM_PSMZ24 && fi.TBP0 == 0x01180 && fi.TPSM == PSM_PSMZ24) - { - skip = 1000; // shadow (result is broken without depth copy, also includes 16 bit) - } - else if((Aggressive || !s_nativeres) && fi.TME && fi.FBP == 0x00700 && fi.FPSM == PSM_PSMZ24 && fi.TBP0 == 0x01180 && fi.TPSM == PSM_PSMZ24) + if((Aggressive || !s_nativeres) && fi.TME && fi.FBP == 0x00700 && fi.FPSM == PSM_PSMZ24 && fi.TBP0 == 0x01180 && fi.TPSM == PSM_PSMZ24) { + // Might not be needed if any of the upscaling hacks fix the issues, needs to be further tested. // Don't enable hack on native res if crc is below aggressive. - skip = 11; // blur - } - } - else if(skip > 7) - { - if(Dx_only && fi.TME && fi.FBP == 0x00700 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x00700 && fi.TPSM == PSM_PSMCT16) - { - skip = 7; // the last steps of shadow drawing + skip = 11; // Upscaling blur/ghosting } }