From 8bd19dab0b5da51f28e80f8550c50527e0801252 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 30 Jan 2004 17:30:06 +0000 Subject: Fix for bug #887167 (FT: Sound/Music/speech (almost) mute) svn-id: r12675 --- scumm/smush/saud_channel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm') diff --git a/scumm/smush/saud_channel.cpp b/scumm/smush/saud_channel.cpp index a8c6fc9570..629ab95fc5 100644 --- a/scumm/smush/saud_channel.cpp +++ b/scumm/smush/saud_channel.cpp @@ -248,8 +248,8 @@ int32 SaudChannel::availableSoundData(void) const { void SaudChannel::getSoundData(int16 *snd, int32 size) { for (int32 i = 0; i < size; i++) { - snd[2 * i] = _sbuffer[i] ^ 0x80; - snd[2 * i + 1] = _sbuffer[i] ^ 0x80; + snd[2 * i] = TO_LE_16(_sbuffer[i] ^ 0x80); + snd[2 * i + 1] = TO_LE_16(_sbuffer[i] ^ 0x80); } if (!_keepSize) _dataSize -= size; -- cgit v1.2.3