Skip to content

Commit

Permalink
MADE: Fix static noise when playing sounds
Browse files Browse the repository at this point in the history
This was a regression introduced in commit 298ea1a.
This fixes bug #9753.
  • Loading branch information
criezy committed Sep 6, 2017
1 parent 2580155 commit 902b191
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions engines/made/sound.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 902b191

Please sign in to comment.