aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-09 12:57:27 +0200
committerEugene Sandulenko2016-05-09 12:57:27 +0200
commit4d4a5837bfd22fc446c249dbaf56ee74e8575118 (patch)
tree76253458af181e78191aeb1df3098583ddeb1040 /engines/made
parent1facc1662b6179b426e1b1ac45a5960d61619170 (diff)
downloadscummvm-rg350-4d4a5837bfd22fc446c249dbaf56ee74e8575118.tar.gz
scummvm-rg350-4d4a5837bfd22fc446c249dbaf56ee74e8575118.tar.bz2
scummvm-rg350-4d4a5837bfd22fc446c249dbaf56ee74e8575118.zip
MADE: Initialize delta sound buffer
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/made/sound.cpp b/engines/made/sound.cpp
index 908d6e3b90..62559efa84 100644
--- a/engines/made/sound.cpp
+++ b/engines/made/sound.cpp
@@ -155,6 +155,7 @@ void decompressSound(byte *source, byte *dest, uint16 chunkSize, uint16 chunkCou
};
soundEnergyItem.position = 0;
+ memset(deltaSoundBuffer, 0, 1024);
if (soundEnergyArray)
soundEnergyArray->clear();