diff options
author | Sven Hesse | 2008-12-14 21:58:09 +0000 |
---|---|---|
committer | Sven Hesse | 2008-12-14 21:58:09 +0000 |
commit | 2bb204b5f835c5c254e4343deb5c4a5078a04035 (patch) | |
tree | 218cf5f09dd1dd3de53ae3a954570498458f5f36 /engines/gob/sound | |
parent | adb564e76aea846aaf0bc0d97ab5f4f6e6dd02b7 (diff) | |
download | scummvm-rg350-2bb204b5f835c5c254e4343deb5c4a5078a04035.tar.gz scummvm-rg350-2bb204b5f835c5c254e4343deb5c4a5078a04035.tar.bz2 scummvm-rg350-2bb204b5f835c5c254e4343deb5c4a5078a04035.zip |
Ensuring correct endianness
svn-id: r35365
Diffstat (limited to 'engines/gob/sound')
-rw-r--r-- | engines/gob/sound/soundmixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/sound/soundmixer.cpp b/engines/gob/sound/soundmixer.cpp index 483bf7608e..ea1dd2ef82 100644 --- a/engines/gob/sound/soundmixer.cpp +++ b/engines/gob/sound/soundmixer.cpp @@ -62,7 +62,7 @@ inline int16 SoundMixer::getData(int offset) { if (!_16bit) return (int16) _data8[offset]; else - return (int16) _data16[offset]; + return (int16) FROM_LE_16(_data16[offset]); } bool SoundMixer::isPlaying() const { |