mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
- Depth texture removal hack can now be configured via gamefix_skipdraw = x. (Front Mission 5) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2423 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ff30e8148b
commit
adde9249f0
|
@ -2545,11 +2545,14 @@ bool GSState::IsBadFrame(int& skip, int gamefix_skipdraw)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// depth textures (bully, mgs3s1 intro)
|
// depth textures (bully, mgs3s1 intro, Front Mission 5 (needs skip = 2, therefore the gamefix))
|
||||||
|
|
||||||
if(fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S)
|
if(fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S)
|
||||||
{
|
{
|
||||||
skip = 1;
|
if (gamefix_skipdraw > 0) {
|
||||||
|
skip = gamefix_skipdraw;
|
||||||
|
}
|
||||||
|
else skip = 1; // Remove, once the gui part is done
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -629,7 +629,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||||
if(tw == 256 && th == 128 && tp == 512 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00))
|
if(tw == 256 && th == 128 && tp == 512 && (TEX0.TBP0 == 0 || TEX0.TBP0 == 0x00e00))
|
||||||
{
|
{
|
||||||
delete src;
|
delete src;
|
||||||
return false;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// width/height conversion
|
// width/height conversion
|
||||||
|
|
Loading…
Reference in New Issue