aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
authorThierry Crozat2017-09-07 00:50:48 +0100
committerThierry Crozat2017-09-07 00:52:50 +0100
commit902b191266b470ef4bc4b753cd1a605f899d951a (patch)
treec080d5bc0219b5be2770acb3443abdca799b4c6b /engines/made
parent258015571ba58eb7c3281e2c833df83430c503c6 (diff)
downloadscummvm-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/made')
-rw-r--r--engines/made/sound.cpp3
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;