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
This commit is contained in:
Marko Pusljar 2009-10-14 23:30:27 +00:00
parent 540f59ef07
commit b8bdb7cb8b
1 changed files with 2 additions and 3 deletions

View File

@ -274,8 +274,8 @@ restart:
{ {
PB.ReachedEnd = 0; PB.ReachedEnd = 0;
// HACK: AFC looping doesn't work. // HACK: AFC looping doesn't work yet. (remove "true ||" for pikmin2/zeldatp intro music - but its causing probs)
if (PB.RepeatMode == 0) //MKDD excluded (hack) - strange menu sounds if (true || PB.RepeatMode == 0)
{ {
PB.KeyOff = 1; PB.KeyOff = 1;
PB.RemLength = 0; PB.RemLength = 0;
@ -292,7 +292,6 @@ restart:
// PB.RestartPos = PB.LoopStartPos; // PB.RestartPos = PB.LoopStartPos;
PB.RemLength = PB.Length; // - PB.RestartPos; PB.RemLength = PB.Length; // - PB.RestartPos;
PB.CurAddr = PB.StartAddr; //+ (PB.LoopStartPos >> 4) * PB.Format + ; 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? // Hmm, this shouldn't be reversed .. or should it? Is it different between versions of the ucode?
PB.YN1 = PB.LoopYN2; PB.YN1 = PB.LoopYN2;
PB.YN2 = PB.LoopYN1; PB.YN2 = PB.LoopYN1;