Mercurial > hg > dmlib
diff tools/xm2jss.c @ 1315:7687412f9aef
Fix jssmod sample conversion flags storing .. urgh.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 20 Aug 2017 01:54:54 +0300 |
parents | eb3f883f4acb |
children | 2772c16622bb |
line wrap: on
line diff
--- a/tools/xm2jss.c Sun Aug 20 01:47:45 2017 +0300 +++ b/tools/xm2jss.c Sun Aug 20 01:54:54 2017 +0300 @@ -661,9 +661,9 @@ if (module->instruments[index] != NULL) { JSSInstrument *inst = module->instruments[index]; - Uint8 convFlags = (inst->flags & jsf16bit) ? flags16 : flags8; + inst->convFlags = (inst->flags & jsf16bit) ? flags16 : flags8; if (inst->data != NULL) - convFlags |= jsampHasData; + inst->convFlags |= jsampHasData; // Write instrument header to file if (!dm_fwrite_le32(outFile, inst->size) ||