aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorMax Horn2004-01-03 19:02:18 +0000
committerMax Horn2004-01-03 19:02:18 +0000
commitee3558b748cfe205110bf8cb5090999916a2780b (patch)
tree76f928c15a5d07d4446597cd0f3b01b816298e33 /sword2
parent14f28d58f1094321b60a9f43b4a7988f71cdb239 (diff)
downloadscummvm-rg350-ee3558b748cfe205110bf8cb5090999916a2780b.tar.gz
scummvm-rg350-ee3558b748cfe205110bf8cb5090999916a2780b.tar.bz2
scummvm-rg350-ee3558b748cfe205110bf8cb5090999916a2780b.zip
fix for BE systems
svn-id: r12115
Diffstat (limited to 'sword2')
-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 0310978eed..b061db823d 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -1026,7 +1026,7 @@ int32 Sound::openFx(int32 id, uint8 *data) {
_fx[fxi]._rate = READ_LE_UINT16(data + 24);
- data += READ_UINT32(data + 16) + 20;
+ data += READ_LE_UINT32(data + 16) + 20;
if (READ_UINT32(data) != MKID('data')) {
warning("openFx: WAV file has no 'data' chunk");