diff options
author | Filippos Karapetis | 2008-12-31 13:00:09 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-31 13:00:09 +0000 |
commit | 136390a5407eaf3a7ee24ce9e78d7aa3bb3e6a3f (patch) | |
tree | 7b49506c4845939ec285cb0799380aa079b9e575 | |
parent | cae6bdac08b9deefe269c59b0d6455df8351876c (diff) | |
download | scummvm-rg350-136390a5407eaf3a7ee24ce9e78d7aa3bb3e6a3f.tar.gz scummvm-rg350-136390a5407eaf3a7ee24ce9e78d7aa3bb3e6a3f.tar.bz2 scummvm-rg350-136390a5407eaf3a7ee24ce9e78d7aa3bb3e6a3f.zip |
Commented out part of the code that corrupts the heap for me
svn-id: r35627
-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) { |