From 3aa3b1caf66bc8f139a2128b43fa0e2be5fad18f Mon Sep 17 00:00:00 2001 From: avihal Date: Tue, 27 Dec 2011 08:28:32 +0000 Subject: [PATCH] GSdx: Improved Genji CRC hack. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5018 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSCrc.cpp | 1 + plugins/GSdx/GSState.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index c4951c8fec..09d7276139 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -194,6 +194,7 @@ CRC::Game CRC::m_games[] = {0xD71B57F4, Genji, US, 0}, {0xFADEBC45, Genji, EU, 0}, {0xB4776FC1, Genji, JP, 0}, + {0x7D4EA48F, Genji, NoRegion, 0}, {0xE04EA200, StarOcean3, EU, 0}, {0x23A97857, StarOcean3, US, 0}, {0xBEC32D49, StarOcean3, JP, 0}, diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index 9719537bcd..72ec7fa6b3 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -2567,6 +2567,9 @@ bool GSC_SimpsonsGame(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(fi.TME && fi.FBP == 0x01500 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x00e00 && fi.TPSM == PSM_PSMZ16)