From cbf8f22b6212b7f9b56a18adad8d668a847a60ba Mon Sep 17 00:00:00 2001 From: ivan89el <35658450+ivan89el@users.noreply.github.com> Date: Tue, 3 Jul 2018 01:42:56 +0500 Subject: [PATCH] GSdx: Adjust Ghost In The Shell SOC crc hack. (#2492) Ease the crc hack and skip less effects, makes shadows and some other effects work properly. The game experiences a bit more upscaling issues which can be resolved with Merge Sprite and Wild Arms offset HW hacks. --- plugins/GSdx/GSCrc.cpp | 1 + plugins/GSdx/GSHwHack.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index ecc7dd3d32..be21ecb75c 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -226,6 +226,7 @@ CRC::Game CRC::m_games[] = {0x5D482F18, JackieChanAdv, EU, 0}, {0xAC4DFD5A, JackieChanAdv, EU, 0}, {0x95CC86EF, GiTS, US, 0}, // same CRC also reported as EU + {0x2C5BF134, GiTS, US, 0}, // Demo {0xA5768F53, GiTS, JP, 0}, {0xA3643EB1, GiTS, KO, 0}, {0xBF6F101F, GiTS, EU, 0}, // same CRC as another US disc diff --git a/plugins/GSdx/GSHwHack.cpp b/plugins/GSdx/GSHwHack.cpp index ae7771244b..beb636537d 100644 --- a/plugins/GSdx/GSHwHack.cpp +++ b/plugins/GSdx/GSHwHack.cpp @@ -139,9 +139,9 @@ bool GSC_GiTS(const GSFrameInfo& fi, int& skip) { if(skip == 0) { - if(fi.TME && fi.FBP == 0x01400 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x02e40 && fi.TPSM == PSM_PSMCT16) + if(fi.TME && fi.FBP == 0x03000 && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT8) { - skip = 1315; + skip = 9; } }