diff options
author | Travis Howell | 2005-11-11 06:43:38 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-11 06:43:38 +0000 |
commit | d17e9165435ce88ec1406ac1b3b47c1e6895f325 (patch) | |
tree | bee830e6a457e7526e301b97136f0ae67b7cca83 | |
parent | 83941f95b3f8e4a6c63e48c9193fbf3ac2141ef7 (diff) | |
download | scummvm-rg350-d17e9165435ce88ec1406ac1b3b47c1e6895f325.tar.gz scummvm-rg350-d17e9165435ce88ec1406ac1b3b47c1e6895f325.tar.bz2 scummvm-rg350-d17e9165435ce88ec1406ac1b3b47c1e6895f325.zip |
Fix sound looping regression in simon2 (Windows).
Sound flags were been reset.
svn-id: r19557
-rw-r--r-- | sound/wave.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/wave.cpp b/sound/wave.cpp index 0fed68d74a..65223b7f74 100644 --- a/sound/wave.cpp +++ b/sound/wave.cpp @@ -110,7 +110,6 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate, // Prepare the return values. rate = samplesPerSec; - flags = 0; if (bitsPerSample == 8) // 8 bit data is unsigned flags |= Audio::Mixer::FLAG_UNSIGNED; else if (bitsPerSample == 16) // 16 bit data is signed little endian |