diff options
author | Thierry Crozat | 2017-09-07 00:50:48 +0100 |
---|---|---|
committer | Thierry Crozat | 2017-09-07 00:52:50 +0100 |
commit | 902b191266b470ef4bc4b753cd1a605f899d951a (patch) | |
tree | c080d5bc0219b5be2770acb3443abdca799b4c6b /engines | |
parent | 258015571ba58eb7c3281e2c833df83430c503c6 (diff) | |
download | scummvm-rg350-902b191266b470ef4bc4b753cd1a605f899d951a.tar.gz scummvm-rg350-902b191266b470ef4bc4b753cd1a605f899d951a.tar.bz2 scummvm-rg350-902b191266b470ef4bc4b753cd1a605f899d951a.zip |
MADE: Fix static noise when playing sounds
This was a regression introduced in commit 298ea1a.
This fixes bug #9753.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/made/sound.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/made/sound.cpp b/engines/made/sound.cpp index 62559efa84..ccc85a3ef5 100644 --- a/engines/made/sound.cpp +++ b/engines/made/sound.cpp @@ -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; |