GSdx: Got the Sly 2/3 hackfixes right.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4502 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
shadowladyngemu 2011-03-28 06:23:34 +00:00
parent d7a6b484ce
commit e30f281894
1 changed files with 17 additions and 4 deletions

View File

@ -2527,10 +2527,16 @@ bool GSC_Sly3(const GSFrameInfo& fi, int& skip)
{
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00700) && fi.FPSM == fi.TPSM && (fi.TBP0 == 0x00000 || fi.TBP0 == 0x00700) && fi.TPSM == PSM_PSMCT16)
{
skip = 107;
skip = 1000;
}
}
else
{
if(fi.TME && fi.FPSM == fi.TPSM && fi.TPSM == PSM_PSMCT16 && fi.FBMSK == 0x03FFF)
{
skip = 3;
}
}
return true;
}
@ -2538,9 +2544,16 @@ bool GSC_Sly2(const GSFrameInfo& fi, int& skip)
{
if(skip == 0)
{
if(fi.TME && /*(fi.FBP == 0x00000 || fi.FBP == 0x00700) &&*/ fi.FPSM == fi.TPSM && fi.TPSM == PSM_PSMCT16 && fi.FBMSK == 0x03FFF)
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x00700 || fi.FBP == 0x00800) && fi.FPSM == fi.TPSM && fi.TPSM == PSM_PSMCT16 && fi.FBMSK == 0x03FFF)
{
skip = 540;
skip = 1000;
}
}
else
{
if(fi.TME && fi.FPSM == fi.TPSM && fi.TPSM == PSM_PSMCT16 && fi.FBMSK == 0x03FFF)
{
skip = 3;
}
}