XM kmport: E9x

This commit is contained in:
tildearrow 2024-07-14 17:19:08 -05:00
parent 1b6195de7b
commit 76f81f3ba4

View file

@ -1073,6 +1073,10 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
p->data[j][effectCol[k]++]=0xe5; p->data[j][effectCol[k]++]=0xe5;
p->data[j][effectCol[k]++]=(effectVal&15)<<4; p->data[j][effectCol[k]++]=(effectVal&15)<<4;
break; break;
case 0x9:
p->data[j][effectCol[k]++]=0x0c;
p->data[j][effectCol[k]++]=(effectVal&15);
break;
case 0xc: case 0xc:
p->data[j][effectCol[k]++]=0xec; p->data[j][effectCol[k]++]=0xec;
p->data[j][effectCol[k]++]=MAX(1,effectVal&15); p->data[j][effectCol[k]++]=MAX(1,effectVal&15);