From 20aca1092b62983e38f3231d267dd070c4d306db Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 27 Jan 2007 00:33:38 +0000 Subject: Add changes from madmoose to fix initial song length. svn-id: r25219 --- sound/mods/module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound/mods') 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); -- cgit v1.2.3