diff options
author | Max Horn | 2003-01-01 20:59:59 +0000 |
---|---|---|
committer | Max Horn | 2003-01-01 20:59:59 +0000 |
commit | d59dc6cf173c56e6f35806ac4768ffa6c874b9a4 (patch) | |
tree | d4159ff1fdc7d32563333a56e64c53a62a2f39c8 | |
parent | 535ad0a4cf8fe0325f04a665c4dbf0773f7e66b0 (diff) | |
download | scummvm-rg350-d59dc6cf173c56e6f35806ac4768ffa6c874b9a4.tar.gz scummvm-rg350-d59dc6cf173c56e6f35806ac4768ffa6c874b9a4.tar.bz2 scummvm-rg350-d59dc6cf173c56e6f35806ac4768ffa6c874b9a4.zip |
endian fix
svn-id: r6318
-rw-r--r-- | scumm/sound.cpp | 4 |
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; |