- 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:
ramapcsx2 2010-01-10 18:04:12 +00:00
parent ff30e8148b
commit adde9249f0
2 changed files with 6 additions and 3 deletions

View File

@ -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)
{
skip = 1;
if (gamefix_skipdraw > 0) {
skip = gamefix_skipdraw;
}
else skip = 1; // Remove, once the gui part is done
}
}
}

View File

@ -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))
{
delete src;
return false;
return NULL;
}
}
// width/height conversion