Games DB: add support for controlling mvuFlagSpeedHack. Disabling this hack for all Katamari games (otherwise enabled by default now) since it has a weird speed bug with it enabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5272 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
avihal 2012-06-06 20:38:24 +00:00
parent 6d691b63f5
commit 1628ab154e
2 changed files with 24 additions and 0 deletions

View File

@ -69,6 +69,11 @@
-- VIFFIFOHack = 1 // Transformers Armada, Test Drive Unlimited. Fixes slow booting issue.
-- VIF1StallHack = 1 // SOCOM II.
---------------------------------------------
-- Speed Hacks (SpeedHackName = <value>)
---------------------------------------------
-- mvuFlagSpeedHack = 1 or 0 // Katamari Damacy have weird speed bug when this speed hack is enabled (and it is by default)
---------------------------------------------
-- Patches ([patches] or [patches = crc])
---------------------------------------------
@ -6133,6 +6138,7 @@ Name = Katamari Damacy
Region = NTSC-U
Compat = 5
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SLUS-21009
Name = Sega Classics Collection
@ -7163,6 +7169,7 @@ Name = We Love Katamari
Region = NTSC-U
Compat = 5
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SLUS-21231
Name = Sniper Elite
@ -11304,6 +11311,7 @@ Serial = SCAJ-20079
Name = Katamari Damacy
Region = NTSC-Unk
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SCAJ-20080
Name = Kaena
@ -11526,6 +11534,7 @@ Serial = SCAJ-20135
Name = Minna Daisuki Katamari Damacy
Region = NTSC-Unk
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SCAJ-20136
Name = Ace Combat 5 - The Unsung War [PlayStation2 The Best]
@ -11933,6 +11942,7 @@ Serial = SCKA-20025
Name = Katamari Damacy
Region = NTSC-K
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SCKA-20026
Name = Gungrave O.D.
@ -12014,6 +12024,7 @@ Serial = SCKA-20051
Name = Minna Daisuki Katamari Damacy
Region = NTSC-K
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SCKA-20052
Name = Genji
@ -26932,6 +26943,7 @@ Name = Katamari Damacy
Region = NTSC-J
Compat = 5
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SLPS-25361
Name = Smash Court Professional Tournament 2
@ -29062,6 +29074,7 @@ Serial = SLPS-73210
Name = Katamari Damacy [PlayStation 2 The Best]
Region = NTSC-J
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SLPS-73211
Name = Summon Night 3 [PlayStation 2 The Best]
@ -29176,11 +29189,13 @@ Serial = SLPS-73240
Name = Katamari Damacy [PlayStation 2 The Best]
Region = NTSC-J
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SLPS-73241
Name = Minna Daisuki Katamari Damacy [PlayStation 2 The Best]
Region = NTSC-J
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SLPS-73242
Name = Tales of Legendia [PlayStation 2 The Best]
@ -39205,6 +39220,7 @@ Serial = SLES-53828
Name = We Love Katamari
Region = PAL-Unk
SkipMPEGHack = 1
mvuFlagSpeedHack = 0
---------------------------------------------
Serial = SLES-53829
Name = Raiden III

View File

@ -246,6 +246,14 @@ static int loadGameSettings(Pcsx2Config& dest, const Game_Data& game, bool verbo
gf++;
}
if (game.keyExists("mvuFlagSpeedHack")) {
bool vuFlagHack = game.getInt("mvuFlagSpeedHack") ? 1 : 0;
if(verbose) Console.WriteLn("(GameDB) Changing mVU flag speed hack [mode=%d]", vuFlagHack);
dest.Speedhacks.vuFlagHack = vuFlagHack;
gf++;
}
for( GamefixId id=GamefixId_FIRST; id<pxEnumEnd; ++id )
{
wxString key( EnumToString(id) );