From 0819740b6aa377c7ba4a65bebd1e9227888d3260 Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Thu, 18 Feb 2010 20:07:20 +0000 Subject: [PATCH] DSPHLE - GC intro audio (IPL) now working - only for pal games atm git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5081 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h | 4 ++-- Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h index d72c2926ff..d6383eab4f 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.h @@ -201,10 +201,10 @@ private: { switch (m_CRC) { + case 0x6ba3b3ea: // IPL - PAL + case 0x24b22038: // IPL - NTSC/NTSC-JAP case 0x42f64ac4: // Luigi case 0x4be6a5cb: // AC, Pikmin NTSC - case 0x088e38a5: // IPL - JAP - case 0xd73338cf: // IPL return true; default: return false; diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp index 98bf9cc151..2dfa8fbbcb 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCodes.cpp @@ -54,14 +54,8 @@ IUCode* UCodeFactory(u32 _CRC, CMailHandler& _rMailHandler) INFO_LOG(DSPHLE, "CRC %08x: AX ucode chosen", _CRC); return new CUCode_AX(_rMailHandler); - // Dunno if this is correct (well, pretty sure it's not...) but it - // prevents the deluge of error msgs when loading IPL with DSP HLE :p case 0x6ba3b3ea: // IPL - PAL case 0x24b22038: // IPL - NTSC/NTSC-JAP - return new CUCode_InitAudioSystem(_rMailHandler); - - case 0x088e38a5: // IPL - JAP (shuffle2) - were these hashes from a different hash algo? seem incorrect (see above) - case 0xd73338cf: // IPL case 0x42f64ac4: // Luigi case 0x4be6a5cb: // AC, Pikmin INFO_LOG(DSPHLE, "CRC %08x: JAC (early Zelda) ucode chosen", _CRC);