From 357030330a587aa51e1461a0b8009919b40be594 Mon Sep 17 00:00:00 2001 From: shadowladyngemu Date: Tue, 5 Jul 2011 12:25:31 +0000 Subject: [PATCH] whoops... it kinda works better if you make the hackfix use the function... GSdx: Dragon Ball Z Budokai Tenkaichi 2's hackfix works with NTSC version now too. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4792 96395faa-99c1-11dd-bbfe-3dabce05a288 --- bin/GameIndex.dbf | 18 ++++++++++++++++-- plugins/GSdx/GSCrc.cpp | 3 ++- plugins/GSdx/GSState.cpp | 7 ++++--- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/bin/GameIndex.dbf b/bin/GameIndex.dbf index b5a0d88f23..ed7f6e1d15 100644 --- a/bin/GameIndex.dbf +++ b/bin/GameIndex.dbf @@ -5069,6 +5069,7 @@ Compat = 5 Serial = SLUS-20788 Name = Ford Racing 2 Region = NTSC-U +Compat = 5 --------------------------------------------- Serial = SLUS-20789 Name = Jeopardy @@ -5328,7 +5329,7 @@ Compat = 5 Serial = SLUS-20851 Name = Ace Combat 5 - The Unsung War Region = NTSC-U -Compat = 5 +Compat = 4 SkipMPEGHack = 1 //hangs on menus --------------------------------------------- Serial = SLUS-20852 @@ -8717,7 +8718,7 @@ Compat = 2 Serial = SLUS-21596 Name = Burnout - Dominator Region = NTSC-U -Compat = 2 +Compat = 5 --------------------------------------------- Serial = SLUS-21597 Name = Medal of Honor - Vanguard @@ -36636,6 +36637,14 @@ Region = PAL-Unk Serial = SLES-52942 Name = Midnight Club 3 - DUB Edition Region = PAL-Unk +[patches = EBE1972D] + + comment=patch by Shadow Lady + + //skip videos + patch=0,EE,006537a0,word,00000000 + +[/patches] --------------------------------------------- Serial = SLES-52943 Name = ESPN NFL 2K5 @@ -40047,6 +40056,11 @@ Serial = SLES-54626 Name = An American Tail Region = PAL-M11 --------------------------------------------- +Serial = SLES-54627 +Name = Burnout Dominator +Region = PAL-E +Compat = 5 +--------------------------------------------- Serial = SLES-54629 Name = Shin Megami Tensei - Devil Summoner Region = PAL-E diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index 0707d1ddd5..b4c0f48384 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -285,7 +285,8 @@ CRC::Game CRC::m_games[] = {0x7E83CC5B, BurnoutRevenge, EU, 0}, {0x8C9576A1, BurnoutDominator, US, 0}, {0x8C9576B4, BurnoutDominator, EU, 0}, - {0x4A0E5B3A, MidnightClub3, US, 0}, + {0x4A0E5B3A, MidnightClub3, US, 0}, //dub + {0xEBE1972D, MidnightClub3, EU, 0}, //dub {0x60A42FF5, MidnightClub3, US, 0}, //remix }; diff --git a/plugins/GSdx/GSState.cpp b/plugins/GSdx/GSState.cpp index 8a54dbd5a1..0da9faf890 100644 --- a/plugins/GSdx/GSState.cpp +++ b/plugins/GSdx/GSState.cpp @@ -1966,11 +1966,11 @@ bool GSC_DBZBT2(const GSFrameInfo& fi, int& skip) { if(skip == 0) { - if(fi.TME && /*fi.FBP == 0x00000 && fi.FPSM == PSM_PSMCT16 &&*/ fi.TBP0 == 0x02000 && fi.TPSM == PSM_PSMZ16) + if(fi.TME && /*fi.FBP == 0x00000 && fi.FPSM == PSM_PSMCT16 &&*/ (fi.TBP0 == 0x01c00 || fi.TBP0 == 0x02000) && fi.TPSM == PSM_PSMZ16) { - skip = 27; + skip = 26; //27 } - else if(!fi.TME && fi.FBP == 0x03000 && fi.FPSM == PSM_PSMCT16) + else if(!fi.TME && (fi.FBP == 0x02a00 || fi.FBP == 0x03000) && fi.FPSM == PSM_PSMCT16) { skip = 10; } @@ -3123,6 +3123,7 @@ bool GSState::IsBadFrame(int& skip, int UserHacks_SkipDraw) map[CRC::BurnoutTakedown] = GSC_Burnout; map[CRC::BurnoutRevenge] = GSC_Burnout; map[CRC::BurnoutDominator] = GSC_Burnout; + map[CRC::MidnightClub3] = GSC_MidnightClub3; } // TODO: just set gsc in SetGameCRC once