aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sword2/driver/d_sound.cpp2
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;
}