mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Bit better hackfix for black, wasn't showing menus and the sniper scopes and also works for PAL 50 and progressive modes now.
Small change to the Metal Gear Solid 3 hackfix. Portraits in codec conversations show now without much of a performance hit, lemme know if this one breaks anything in the game. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4631 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f039383a1b
commit
3153c4905d
|
@ -236,6 +236,7 @@ CRC::Game CRC::m_games[] =
|
||||||
{0xA36CFF6C, CastlevaniaLoI, JP, 0},
|
{0xA36CFF6C, CastlevaniaLoI, JP, 0},
|
||||||
{0x5C891FF1, Black, US, 0},
|
{0x5C891FF1, Black, US, 0},
|
||||||
{0xCAA04879, Black, EU, 0},
|
{0xCAA04879, Black, EU, 0},
|
||||||
|
{0xADDFF505, Black, EU, 0}, //?
|
||||||
{0xB3A9F9ED, Black, JP, 0},
|
{0xB3A9F9ED, Black, JP, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1922,6 +1922,10 @@ bool GSC_MetalGearSolid3(const GSFrameInfo& fi, int& skip)
|
||||||
{
|
{
|
||||||
skip = 0;
|
skip = 0;
|
||||||
}
|
}
|
||||||
|
else if(!fi.TME && fi.FBP == fi.TBP0 && fi.FBP == 0x2000 && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMCT24)
|
||||||
|
{
|
||||||
|
skip = 119;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -2794,14 +2798,18 @@ bool GSC_Black(const GSFrameInfo& fi, int& skip)
|
||||||
{
|
{
|
||||||
if(skip == 0)
|
if(skip == 0)
|
||||||
{
|
{
|
||||||
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x008c0) && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x01a40 && fi.TPSM == PSM_PSMZ16 || (GSUtil::HasSharedBits(fi.FBP, fi.FPSM, fi.TBP0, fi.TPSM)) )
|
if(fi.TME /*&& (fi.FBP == 0x00000 || fi.FBP == 0x008c0)*/ && fi.FPSM == PSM_PSMCT16 && (fi.TBP0 == 0x01a40 || fi.TBP0 == 0x01b80 || fi.TBP0 == 0x030c0) && fi.TPSM == PSM_PSMZ16 || (GSUtil::HasSharedBits(fi.FBP, fi.FPSM, fi.TBP0, fi.TPSM)))
|
||||||
{
|
{
|
||||||
skip = 5;
|
skip = 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x008c0) && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT4)
|
if(fi.TME && (fi.FBP == 0x00000 || fi.FBP == 0x008c0 || fi.FBP == 0x0a00 ) && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT4)
|
||||||
|
{
|
||||||
|
skip = 0;
|
||||||
|
}
|
||||||
|
else if(!fi.TME && fi.FBP == fi.TBP0 && fi.FPSM == PSM_PSMCT32 && fi.TPSM == PSM_PSMT8H)
|
||||||
{
|
{
|
||||||
skip = 0;
|
skip = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue