diff options
-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 7000af6594..d376641812 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -350,7 +350,7 @@ void Sound::playSound(int soundID) { int loopStart = READ_LE_UINT32(ptr + 0x10); int loopEnd = READ_LE_UINT32(ptr + 0x14); // it's not exactly * 10, maybe it's not even linear, but * 10 sounds ok. - rate = READ_LE_UINT32(ptr + 0x18) * 10.2; + rate = READ_LE_UINT32(ptr + 0x18) * 1000 / 0x62; ptr += 0x20; size -= 0x20; |