DSPHLE: remove some annoying clicking

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3765 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-07-12 13:54:18 +00:00
parent 0bdf6656c5
commit 38f3ca5b91
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,8 @@ _lRestart:
PB.KeyOff = 1;
PB.RemLength = 0;
PB.CurAddr = PB.StartAddr + (PB.RestartPos << 1) + PB.Length;
while (outpos < _RealSize)
_Buffer[outpos++] = 0;
return;
}
else
@ -228,6 +230,8 @@ restart:
PB.KeyOff = 1;
PB.RemLength = 0;
PB.CurAddr = PB.StartAddr + PB.RestartPos + PB.Length;
while (sampleCount < _RealSize)
_Buffer[sampleCount++] = 0;
return;
}
else