aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 2045a9c18f..c89aaecc4f 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -224,7 +224,7 @@ void Sound::playSound(int soundID) {
if (READ_UINT32_UNALIGNED(ptr) != MKID('SDAT'))
return; // abort
- size = READ_BE_UINT32_UNALIGNED(ptr+4);
+ size = READ_BE_UINT32_UNALIGNED(ptr+4) - 8;
// FIXME - what value here ?!? 11025 is just a guess based on strings in w32 bin, prev guess 8000
rate = 11025;