forked from dolphin-emu/dolphin
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:
@@ -134,6 +134,8 @@ _lRestart:
|
|||||||
PB.KeyOff = 1;
|
PB.KeyOff = 1;
|
||||||
PB.RemLength = 0;
|
PB.RemLength = 0;
|
||||||
PB.CurAddr = PB.StartAddr + (PB.RestartPos << 1) + PB.Length;
|
PB.CurAddr = PB.StartAddr + (PB.RestartPos << 1) + PB.Length;
|
||||||
|
while (outpos < _RealSize)
|
||||||
|
_Buffer[outpos++] = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -228,6 +230,8 @@ restart:
|
|||||||
PB.KeyOff = 1;
|
PB.KeyOff = 1;
|
||||||
PB.RemLength = 0;
|
PB.RemLength = 0;
|
||||||
PB.CurAddr = PB.StartAddr + PB.RestartPos + PB.Length;
|
PB.CurAddr = PB.StartAddr + PB.RestartPos + PB.Length;
|
||||||
|
while (sampleCount < _RealSize)
|
||||||
|
_Buffer[sampleCount++] = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user