Mercurial > audlegacy-plugins
diff src/modplug/load_okt.cxx @ 2337:107c1fed3d92
Port Schism modplug core.
author | "Tony Vroon <chainsaw@gentoo.org>" |
---|---|
date | Thu, 24 Jan 2008 12:05:59 +0000 |
parents | 6907fc39b53f |
children |
line wrap: on
line diff
--- a/src/modplug/load_okt.cxx Wed Jan 23 19:37:05 2008 +0100 +++ b/src/modplug/load_okt.cxx Thu Jan 24 12:05:59 2008 +0000 @@ -120,6 +120,7 @@ if ((Patterns[npat] = AllocatePattern(rows, m_nChannels)) == NULL) return TRUE; MODCOMMAND *m = Patterns[npat]; PatternSize[npat] = rows; + PatternAllocSize[npat] = rows; UINT imax = m_nChannels*rows; for (UINT i=0; i<imax; i++, m++, dwPos+=4) {