mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
MADE: Fix static noise when playing sounds
This was a regression introduced in commit 298ea1a. This fixes bug #9753.
This commit is contained in:
parent
258015571b
commit
902b191266
@ -249,9 +249,6 @@ void decompressSound(byte *source, byte *dest, uint16 chunkSize, uint16 chunkCou
|
||||
// soundBuffer.
|
||||
soundBuffer[workChunkSize] = soundBuffer[workChunkSize - 1];
|
||||
|
||||
for (i = 0; i < chunkSize; i++)
|
||||
soundBuffer[i] = 0;
|
||||
|
||||
if (deltaType == 1) {
|
||||
for (i = 0; i < chunkSize - 1; i += 2) {
|
||||
l = i / 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user