diff options
author | Jonathan Gray | 2003-03-01 13:32:45 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-03-01 13:32:45 +0000 |
commit | d31b7439e11d97819150109e2cd5dfdfa3468d29 (patch) | |
tree | ab641c62e7185454c4bc215010238635d593bde0 /scumm | |
parent | 419761549ca92884df5c5b5f827f457f7a1aae9f (diff) | |
download | scummvm-rg350-d31b7439e11d97819150109e2cd5dfdfa3468d29.tar.gz scummvm-rg350-d31b7439e11d97819150109e2cd5dfdfa3468d29.tar.bz2 scummvm-rg350-d31b7439e11d97819150109e2cd5dfdfa3468d29.zip |
we were reading 8 bytes too much on DIGI sounds
svn-id: r6648
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 2 |
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; |