aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2003-01-01 20:59:59 +0000
committerMax Horn2003-01-01 20:59:59 +0000
commitd59dc6cf173c56e6f35806ac4768ffa6c874b9a4 (patch)
treed4159ff1fdc7d32563333a56e64c53a62a2f39c8 /scumm/sound.cpp
parent535ad0a4cf8fe0325f04a665c4dbf0773f7e66b0 (diff)
downloadscummvm-rg350-d59dc6cf173c56e6f35806ac4768ffa6c874b9a4.tar.gz
scummvm-rg350-d59dc6cf173c56e6f35806ac4768ffa6c874b9a4.tar.bz2
scummvm-rg350-d59dc6cf173c56e6f35806ac4768ffa6c874b9a4.zip
endian fix
svn-id: r6318
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 027cb42444..4d4e30ef13 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -203,8 +203,8 @@ void Sound::playSound(int soundID) {
else if (READ_UINT32_UNALIGNED(ptr) == MKID('Mac1')) {
// Read info from the header
- size = READ_UINT32_UNALIGNED(ptr+0x60);
- rate = READ_UINT32_UNALIGNED(ptr+0x64) >> 16;
+ size = READ_BE_UINT32_UNALIGNED(ptr+0x60);
+ rate = READ_BE_UINT32_UNALIGNED(ptr+0x64) >> 16;
// Skip over the header (fixed size)
ptr += 0x72;