aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2003-10-07 03:54:49 +0000
committerTravis Howell2003-10-07 03:54:49 +0000
commitdacd8ce4d1714125a07a2507ac53e375bf9181ca (patch)
tree53dada89d8487cad3cc47c0d44fce15277fddea6 /scumm
parent9e585098d8cca0ad8e36294efd8d2f175141278b (diff)
downloadscummvm-rg350-dacd8ce4d1714125a07a2507ac53e375bf9181ca.tar.gz
scummvm-rg350-dacd8ce4d1714125a07a2507ac53e375bf9181ca.tar.bz2
scummvm-rg350-dacd8ce4d1714125a07a2507ac53e375bf9181ca.zip
FM TOWNS sfx fix, correct sample rate.
svn-id: r10652
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 00b4e6d3cc..7000af6594 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;
+ rate = READ_LE_UINT32(ptr + 0x18) * 10.2;
ptr += 0x20;
size -= 0x20;