Reverted r2096 and added new case.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2105 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-02-04 07:40:37 +00:00
parent cf303e70e9
commit 48a3c6eeb4
1 changed files with 12 additions and 7 deletions

View File

@ -72,14 +72,19 @@ IUCode* UCodeFactory(u32 _CRC, CMailHandler& _rMailHandler)
printf("Zelda Wii ucode chosen");
return new CUCode_Zelda(_rMailHandler);
default:
if(g_dspInitialize.bWii) {
case 0x5ef56da3: // AX demo
case 0x347112ba: // raving rabbits
case 0xfa450138: // wii sports - PAL
case 0xadbc06bd: // Elebits
case 0xb7eb9a9c: // Wii Pikmin - JAP
case 0x4cc52064: // Bleach: Versus Crusade
printf("Wii - AXWii chosen");
return new CUCode_AXWii(_rMailHandler, _CRC);
}
PanicAlert("Unknown GC UCode (CRC = %08x) - forcing AX", _CRC);
default:
PanicAlert("Unknown ucode (CRC = %08x) - forcing AX/AXWii", _CRC);
if(g_dspInitialize.bWii)
return new CUCode_AXWii(_rMailHandler, _CRC);
return new CUCode_AX(_rMailHandler);
}