diff options
author | Travis Howell | 2003-10-07 03:58:29 +0000 |
---|---|---|
committer | Travis Howell | 2003-10-07 03:58:29 +0000 |
commit | 5c6469536762483eb149724802381cf362c81e1a (patch) | |
tree | 78c08700892ca648f7df6b376254ec82ba9d6e40 /scumm | |
parent | dacd8ce4d1714125a07a2507ac53e375bf9181ca (diff) | |
download | scummvm-rg350-5c6469536762483eb149724802381cf362c81e1a.tar.gz scummvm-rg350-5c6469536762483eb149724802381cf362c81e1a.tar.bz2 scummvm-rg350-5c6469536762483eb149724802381cf362c81e1a.zip |
Ooops, used wrong one.
svn-id: r10653
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 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; |