S3M import: freaking BCD

This commit is contained in:
tildearrow 2024-06-28 16:24:31 -05:00
parent 8a8784dd5a
commit a94818f04b

View file

@ -881,7 +881,7 @@ bool DivEngine::loadS3M(unsigned char* file, size_t len) {
break; break;
case 'C': // next order case 'C': // next order
p->data[curRow][effectCol[chan]++]=0x0d; p->data[curRow][effectCol[chan]++]=0x0d;
p->data[curRow][effectCol[chan]++]=effectVal; p->data[curRow][effectCol[chan]++]=(effectVal>>4)*10+(effectVal&15);
break; break;
case 'D': // vol slide case 'D': // vol slide
if (effectVal!=0) { if (effectVal!=0) {