Update DUMB to revision 32c9bb420240cac2120e7e01c2683df88d1dc1ac

- Corrected MOD reader to only check the known number of orders when calculating the pattern count



SVN r4100 (trunk)
This commit is contained in:
Randy Heit 2013-02-08 00:50:44 +00:00
parent 7cd543c554
commit 1e422f8921

View file

@ -631,7 +631,7 @@ static DUMB_IT_SIGDATA *it_mod_load_sigdata(DUMBFILE *f, int rstrict)
/* Work out how many patterns there are. */ /* Work out how many patterns there are. */
sigdata->n_patterns = -1; sigdata->n_patterns = -1;
for (i = 0; i < 128; i++) for (i = 0; i < sigdata->n_orders; i++)
if (sigdata->n_patterns < sigdata->order[i]) if (sigdata->n_patterns < sigdata->order[i])
sigdata->n_patterns = sigdata->order[i]; sigdata->n_patterns = sigdata->order[i];
sigdata->n_patterns++; sigdata->n_patterns++;