Add changes from madmoose to fix initial song length.

svn-id: r25219
This commit is contained in:
Travis Howell 2007-01-27 00:33:38 +00:00
parent b867202199
commit 20aca1092b

View file

@ -46,8 +46,8 @@ bool Module::load(Common::ReadStream &st) {
sample[i].replen = 2 * st.readUint16BE(); sample[i].replen = 2 * st.readUint16BE();
} }
songlen = 2 * st.readByte(); songlen = st.readByte();
undef = 2 * st.readByte(); undef = st.readByte();
st.read(songpos, 128); st.read(songpos, 128);
st.read(sig, 4); st.read(sig, 4);