GSdx: Improved Genji CRC hack.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5018 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
avihal 2011-12-27 08:28:32 +00:00
parent 7f3b11c7db
commit 3aa3b1caf6
2 changed files with 4 additions and 0 deletions

View File

@ -194,6 +194,7 @@ CRC::Game CRC::m_games[] =
{0xD71B57F4, Genji, US, 0}, {0xD71B57F4, Genji, US, 0},
{0xFADEBC45, Genji, EU, 0}, {0xFADEBC45, Genji, EU, 0},
{0xB4776FC1, Genji, JP, 0}, {0xB4776FC1, Genji, JP, 0},
{0x7D4EA48F, Genji, NoRegion, 0},
{0xE04EA200, StarOcean3, EU, 0}, {0xE04EA200, StarOcean3, EU, 0},
{0x23A97857, StarOcean3, US, 0}, {0x23A97857, StarOcean3, US, 0},
{0xBEC32D49, StarOcean3, JP, 0}, {0xBEC32D49, StarOcean3, JP, 0},

View File

@ -2567,6 +2567,9 @@ bool GSC_SimpsonsGame(const GSFrameInfo& fi, int& skip)
bool GSC_Genji(const GSFrameInfo& fi, int& skip) bool GSC_Genji(const GSFrameInfo& fi, int& skip)
{ {
if( !skip && fi.TME && (fi.FBP == 0x700 || fi.FBP == 0x0) && fi.TBP0 == 0x1500 && fi.TPSM )
skip=1;
if(skip == 0) if(skip == 0)
{ {
if(fi.TME && fi.FBP == 0x01500 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x00e00 && fi.TPSM == PSM_PSMZ16) if(fi.TME && fi.FBP == 0x01500 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x00e00 && fi.TPSM == PSM_PSMZ16)