Mercurial > hg > dmlib
diff minijss/jloadxm.c @ 1260:94e9444b0fa7
Only initialize defpannings up to nchannels.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 10 Mar 2015 11:49:38 +0200 |
parents | 8e854dfee26d |
children | c2000337ac3f |
line wrap: on
line diff
--- a/minijss/jloadxm.c Tue Mar 10 11:49:22 2015 +0200 +++ b/minijss/jloadxm.c Tue Mar 10 11:49:38 2015 +0200 @@ -1054,7 +1054,7 @@ module->defFlags |= jmdfAmigaPeriods; // Setup the default pannings - for (index = 0; index < jsetNChannels; index++) + for (index = 0; index < module->nchannels; index++) module->defPanning[index] = jchPanMiddle; // Load rest of the module