From 48a3c6eeb4db8b7cb4ac371ca641ffcd27620b04 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Wed, 4 Feb 2009 07:40:37 +0000 Subject: [PATCH] Reverted r2096 and added new case. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2105 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugin_DSP_HLE/Src/UCodes/UCodes.cpp | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp index 6ad4a50a74..43c57e82ac 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp @@ -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) { - printf("Wii - AXWii chosen"); - return new CUCode_AXWii(_rMailHandler, _CRC); - } - - PanicAlert("Unknown GC UCode (CRC = %08x) - forcing AX", _CRC); + 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); + 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); }