aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-10-07 03:58:29 +0000
committerTravis Howell2003-10-07 03:58:29 +0000
commit5c6469536762483eb149724802381cf362c81e1a (patch)
tree78c08700892ca648f7df6b376254ec82ba9d6e40
parentdacd8ce4d1714125a07a2507ac53e375bf9181ca (diff)
downloadscummvm-rg350-5c6469536762483eb149724802381cf362c81e1a.tar.gz
scummvm-rg350-5c6469536762483eb149724802381cf362c81e1a.tar.bz2
scummvm-rg350-5c6469536762483eb149724802381cf362c81e1a.zip
Ooops, used wrong one.
svn-id: r10653
-rw-r--r--scumm/sound.cpp2
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;