mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
we were reading 8 bytes too much on DIGI sounds
svn-id: r6648
This commit is contained in:
parent
419761549c
commit
d31b7439e1
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user