From b8bdb7cb8bf5015ec1f0810c46466b5bb4faba66 Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Wed, 14 Oct 2009 23:30:27 +0000 Subject: [PATCH] AFC looping disabled, will be back when its properly fixed git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4423 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp index 6cdcdde04a..ea9eae6f30 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp @@ -274,8 +274,8 @@ restart: { PB.ReachedEnd = 0; - // HACK: AFC looping doesn't work. - if (PB.RepeatMode == 0) //MKDD excluded (hack) - strange menu sounds + // HACK: AFC looping doesn't work yet. (remove "true ||" for pikmin2/zeldatp intro music - but its causing probs) + if (true || PB.RepeatMode == 0) { PB.KeyOff = 1; PB.RemLength = 0; @@ -292,7 +292,6 @@ restart: // PB.RestartPos = PB.LoopStartPos; PB.RemLength = PB.Length; // - PB.RestartPos; PB.CurAddr = PB.StartAddr; //+ (PB.LoopStartPos >> 4) * PB.Format + ; - PB.ReachedEnd = 0; // Hmm, this shouldn't be reversed .. or should it? Is it different between versions of the ucode? PB.YN1 = PB.LoopYN2; PB.YN2 = PB.LoopYN1;