From a00930fbcb32bdc1a591d294eb1d6a9aa7796c90 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 13 Sep 2003 01:59:57 +0000 Subject: YAEB svn-id: r10205 --- sword2/driver/d_sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword2') 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; } -- cgit v1.2.3