diff options
author | Sven Hesse | 2012-04-13 04:29:26 +0200 |
---|---|---|
committer | Sven Hesse | 2012-04-13 04:29:26 +0200 |
commit | 7eef26268c9abf5f61a32f547a5037ac1c19e869 (patch) | |
tree | d789e98bd53d569d8d796ba6e7476715aa544e28 /video/smk_decoder.cpp | |
parent | 3e47203d645b24b8d94cb2ac742072764e49ef04 (diff) | |
download | scummvm-rg350-7eef26268c9abf5f61a32f547a5037ac1c19e869.tar.gz scummvm-rg350-7eef26268c9abf5f61a32f547a5037ac1c19e869.tar.bz2 scummvm-rg350-7eef26268c9abf5f61a32f547a5037ac1c19e869.zip |
VIDEO: Fix SMK 16bit audio on BE systems
Diffstat (limited to 'video/smk_decoder.cpp')
-rw-r--r-- | video/smk_decoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/smk_decoder.cpp b/video/smk_decoder.cpp index e0e771f04b..084028300d 100644 --- a/video/smk_decoder.cpp +++ b/video/smk_decoder.cpp @@ -709,14 +709,14 @@ void SmackerDecoder::queueCompressedBuffer(byte *buffer, uint32 bufferSize, if (isStereo) { if (is16Bits) { - bases[1] = FROM_BE_16(audioBS.getBits(16)); + bases[1] = SWAP_BYTES_16(audioBS.getBits(16)); } else { bases[1] = audioBS.getBits(8); } } if (is16Bits) { - bases[0] = FROM_BE_16(audioBS.getBits(16)); + bases[0] = SWAP_BYTES_16(audioBS.getBits(16)); } else { bases[0] = audioBS.getBits(8); } |