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

View File

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