Temporary, somewhat hacky solution to the 0x21 hangs in the zelda ucode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3640 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
599c9fd15c
commit
ee86f4cd29
|
@ -325,7 +325,6 @@ void CUCode_Zelda::RenderAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _Righ
|
||||||
// XK: Use this to disable music (GREAT for testing)
|
// XK: Use this to disable music (GREAT for testing)
|
||||||
//if(PB.SoundType == 0x0d00)
|
//if(PB.SoundType == 0x0d00)
|
||||||
// break;
|
// break;
|
||||||
|
|
||||||
RenderVoice_AFC(PB, m_TempBuffer, _Size);
|
RenderVoice_AFC(PB, m_TempBuffer, _Size);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -338,6 +337,9 @@ void CUCode_Zelda::RenderAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _Righ
|
||||||
case 0x0020:
|
case 0x0020:
|
||||||
case 0x0021: // Important for Zelda WW. Really need to implement - missing it causes hangs.
|
case 0x0021: // Important for Zelda WW. Really need to implement - missing it causes hangs.
|
||||||
WARN_LOG(DSPHLE, "Unimplemented MixAddVoice format in zelda %04x", PB.Format);
|
WARN_LOG(DSPHLE, "Unimplemented MixAddVoice format in zelda %04x", PB.Format);
|
||||||
|
PB.ReachedEnd = 1;
|
||||||
|
PB.KeyOff = 1;
|
||||||
|
PB.Status = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue