aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;