mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
5dba50645b
commit
a7507d6e4a
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue