diff options
author | Travis Howell | 2007-01-27 00:33:38 +0000 |
---|---|---|
committer | Travis Howell | 2007-01-27 00:33:38 +0000 |
commit | 20aca1092b62983e38f3231d267dd070c4d306db (patch) | |
tree | 5dcc3c5cd9908f20b5cd5b67ee4d54684550d90c /sound/mods | |
parent | b86720219922845f66957d2e3dde5718eb25bc98 (diff) | |
download | scummvm-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/mods')
-rw-r--r-- | sound/mods/module.cpp | 4 |
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); |