mirror of https://github.com/PCSX2/pcsx2.git
gsdx hack: use psm lookup + remove now useless log
This commit is contained in:
parent
8424eeb4ee
commit
7b0427e86e
|
@ -2623,20 +2623,13 @@ bool GSState::IsBadFrame(int& skip, int UserHacks_SkipDraw)
|
|||
if(fi.TME)
|
||||
{
|
||||
// depth textures (bully, mgs3s1 intro, Front Mission 5)
|
||||
if( (fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S) ||
|
||||
// General, often problematic post processing
|
||||
(GSUtil::HasSharedBits(fi.FBP, fi.FPSM, fi.TBP0, fi.TPSM)) )
|
||||
// General, often problematic post processing
|
||||
if (GSLocalMemory::m_psm[fi.TPSM].depth || GSUtil::HasSharedBits(fi.FBP, fi.FPSM, fi.TBP0, fi.TPSM))
|
||||
{
|
||||
skip = UserHacks_SkipDraw;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef ENABLE_OGL_DEBUG
|
||||
else if (fi.TME) {
|
||||
if(fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S)
|
||||
GL_INS("!!! Depth Texture 0x%x!!!", fi.TPSM);
|
||||
}
|
||||
#endif
|
||||
|
||||
if(skip > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue