Mercurial > hg > dmlib
changeset 1100:654602d3d5a5
Improve comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Mar 2015 22:32:27 +0200 |
parents | f309a382d6e7 |
children | 0577f10dc3de |
files | tools/xm2jss.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/xm2jss.c Tue Mar 03 22:15:26 2015 +0200 +++ b/tools/xm2jss.c Tue Mar 03 22:32:27 2015 +0200 @@ -684,6 +684,7 @@ // // Find out all actually used patterns and ext.instruments + // by going through all patterns specified in the order list // for (i = 0; i < m->norders; i++) { @@ -696,10 +697,10 @@ int row, channel; JSSNote *n = p->data; - // Mark pattern as used + // Mark this pattern as used usedPatterns[pattern] = TRUE; - // Check all notes + // Check all notes in this pattern to see what instruments are used for (row = 0; row < p->nrows; row++) for (channel = 0; channel < p->nchannels; channel++, n++) if (n->instrument != jsetNotSet) @@ -734,7 +735,7 @@ } // - // Find used instruments + // Find used sample instruments // for (i = 0; i < jsetMaxInstruments; i++) if (usedExtInstruments[i] && m->extInstruments[i] != NULL)