diff options
author | Max Horn | 2003-09-13 01:59:57 +0000 |
---|---|---|
committer | Max Horn | 2003-09-13 01:59:57 +0000 |
commit | a00930fbcb32bdc1a591d294eb1d6a9aa7796c90 (patch) | |
tree | 62cf72473df896df29405ec10d0bcef4f5ecb2e8 /sword2 | |
parent | 403ba92327072f5764c0351399a80a882ff1c80d (diff) | |
download | scummvm-rg350-a00930fbcb32bdc1a591d294eb1d6a9aa7796c90.tar.gz scummvm-rg350-a00930fbcb32bdc1a591d294eb1d6a9aa7796c90.tar.bz2 scummvm-rg350-a00930fbcb32bdc1a591d294eb1d6a9aa7796c90.zip |
YAEB
svn-id: r10205
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/driver/d_sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp index 49de9ae627..20b9374592 100644 --- a/sword2/driver/d_sound.cpp +++ b/sword2/driver/d_sound.cpp @@ -717,7 +717,7 @@ int32 Sword2Sound::OpenFx(int32 id, uint8 *data) { // Until the mixer supports LE samples natively, we need to convert our LE ones to BE for (int32 j = 0; j < (bufferSizeFx[fxi] / 2); j++) - bufferFx[fxi][j] = TO_BE_16(bufferFx[fxi][j]); + bufferFx[fxi][j] = SWAP_BYTES_16(bufferFx[fxi][j]); fxId[fxi] = id; } |