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
This commit is contained in:
ramapcsx2 2010-02-21 19:50:21 +00:00
parent 5dba50645b
commit a7507d6e4a
1 changed files with 12 additions and 0 deletions

View File

@ -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) if(skip > 0)
{ {