From a7507d6e4a51655fc9ce477c0cf110009f2760ad Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Sun, 21 Feb 2010 19:50:21 +0000 Subject: [PATCH] Mimic old GSdx behavior (skipping all depth textures with a skip value of 1), to avoid floods of bug reports that games are broken, when the user hasn't found the skiphack yet. (God of War, sigh..) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2621 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSState.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index 35bd94fcbd..07cb32f585 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -2547,6 +2547,18 @@ bool GSState::IsBadFrame(int& skip, int UserHacks_SkipDraw) } } } + // Mimic old GSdx behavior (skipping all depth textures with a skip value of 1), to avoid floods of bug reports + // that games are broken, when the user hasn't found the skiphack yet. (God of War, sigh...) + else if (skip == 0) + { + if(fi.TME) + { + if(fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S) + { + skip = 1; + } + } + } if(skip > 0) {