diff options
author | Travis Howell | 2009-02-07 04:49:10 +0000 |
---|---|---|
committer | Travis Howell | 2009-02-07 04:49:10 +0000 |
commit | 8c84ec82fc9b392f4c17ccd2318ce1c885cd041c (patch) | |
tree | c96f54f0b2ec4929f64a0e838f3649007a602ac7 /sound | |
parent | 934a59941d54d62e93f40d24a033abf2543e63ad (diff) | |
download | scummvm-rg350-8c84ec82fc9b392f4c17ccd2318ce1c885cd041c.tar.gz scummvm-rg350-8c84ec82fc9b392f4c17ccd2318ce1c885cd041c.tar.bz2 scummvm-rg350-8c84ec82fc9b392f4c17ccd2318ce1c885cd041c.zip |
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
svn-id: r36235
Diffstat (limited to 'sound')
-rw-r--r-- | sound/voc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/voc.cpp b/sound/voc.cpp index 294c75b064..0647568dc4 100644 --- a/sound/voc.cpp +++ b/sound/voc.cpp @@ -164,6 +164,10 @@ AudioStream *makeVOCStream(Common::ReadStream &stream, byte flags, uint loopStar if (!data) return 0; + // Default to unsigned sound data, if not flags set + if (!flags) + flags |= Audio::Mixer::FLAG_UNSIGNED; + return makeLinearInputStream(data, size, rate, flags | Audio::Mixer::FLAG_AUTOFREE, loopStart, loopEnd); } |