aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTravis Howell2007-01-27 00:33:38 +0000
committerTravis Howell2007-01-27 00:33:38 +0000
commit20aca1092b62983e38f3231d267dd070c4d306db (patch)
tree5dcc3c5cd9908f20b5cd5b67ee4d54684550d90c /sound
parentb86720219922845f66957d2e3dde5718eb25bc98 (diff)
downloadscummvm-rg350-20aca1092b62983e38f3231d267dd070c4d306db.tar.gz
scummvm-rg350-20aca1092b62983e38f3231d267dd070c4d306db.tar.bz2
scummvm-rg350-20aca1092b62983e38f3231d267dd070c4d306db.zip
Add changes from madmoose to fix initial song length.
svn-id: r25219
Diffstat (limited to 'sound')
-rw-r--r--sound/mods/module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mods/module.cpp b/sound/mods/module.cpp
index 9a518f482a..088522bc3a 100644
--- a/sound/mods/module.cpp
+++ b/sound/mods/module.cpp
@@ -46,8 +46,8 @@ bool Module::load(Common::ReadStream &st) {
sample[i].replen = 2 * st.readUint16BE();
}
- songlen = 2 * st.readByte();
- undef = 2 * st.readByte();
+ songlen = st.readByte();
+ undef = st.readByte();
st.read(songpos, 128);
st.read(sig, 4);