mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
7f3b11c7db
commit
3aa3b1caf6
|
@ -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},
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue