diff options
author | Eugene Sandulenko | 2016-05-09 12:57:27 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-09 12:57:27 +0200 |
commit | 4d4a5837bfd22fc446c249dbaf56ee74e8575118 (patch) | |
tree | 76253458af181e78191aeb1df3098583ddeb1040 | |
parent | 1facc1662b6179b426e1b1ac45a5960d61619170 (diff) | |
download | scummvm-rg350-4d4a5837bfd22fc446c249dbaf56ee74e8575118.tar.gz scummvm-rg350-4d4a5837bfd22fc446c249dbaf56ee74e8575118.tar.bz2 scummvm-rg350-4d4a5837bfd22fc446c249dbaf56ee74e8575118.zip |
MADE: Initialize delta sound buffer
-rw-r--r-- | engines/made/sound.cpp | 1 |
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(); |