diff options
-rw-r--r-- | sound/shorten.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/shorten.cpp b/sound/shorten.cpp index 0a826a5edc..515f62dc6f 100644 --- a/sound/shorten.cpp +++ b/sound/shorten.cpp @@ -393,8 +393,9 @@ byte *loadShortenFromStream(Common::ReadStream &stream, int &size, int &rate, by // Do the wrap - for (i = -wrap; i < 0; i++) - buffer[curChannel][i] = buffer[curChannel][i + blockSize]; + // FIXME: removed for now, as this corrupts the heap + //for (int32 k = -wrap; k < 0; k++) + // buffer[curChannel][k] = buffer[curChannel][k + blockSize]; // Fix bitshift if (bitShift > 0) { |