From 62417dae99de04e5052964071c238a9bca2c3189 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Thu, 20 Jun 2019 10:36:21 +0200 Subject: [PATCH] gsdx-hw: Revert dmc 3 TS hack purge. Seems like Texture shuffle/depth is not handled properly in all cases so revert the change until we fix it properly. Move it to gl level too. Commit: https://github.com/PCSX2/pcsx2/commit/11cd6b56cd14905467c7fd36cca07a5175f512d1 --- plugins/GSdx/Renderers/HW/GSHwHack.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/GSdx/Renderers/HW/GSHwHack.cpp b/plugins/GSdx/Renderers/HW/GSHwHack.cpp index 293d99e952..a9d0e8ac0c 100644 --- a/plugins/GSdx/Renderers/HW/GSHwHack.cpp +++ b/plugins/GSdx/Renderers/HW/GSHwHack.cpp @@ -578,6 +578,11 @@ bool GSC_DevilMayCry3(const GSFrameInfo& fi, int& skip) { if(skip == 0) { + if(fi.TME && fi.FBP == 0x01800 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x01000 && fi.TPSM == PSM_PSMZ16) + { + // Texture shuffle/depth not handled properly. + skip = 32; + } if(fi.TME && fi.FBP == 0x01800 && fi.FPSM == PSM_PSMZ32 && fi.TBP0 == 0x0800 && fi.TPSM == PSM_PSMT8H) { skip = 16;