XM import: vol col porta?
This commit is contained in:
parent
34aa698016
commit
eb277131c5
|
@ -933,6 +933,15 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
|
||||||
panSliding[k]=true;
|
panSliding[k]=true;
|
||||||
break;
|
break;
|
||||||
case 0xf: // porta
|
case 0xf: // porta
|
||||||
|
if ((vol&15)!=0) {
|
||||||
|
portaStatus[k]=(vol&15);
|
||||||
|
portaStatusChanged[k]=true;
|
||||||
|
}
|
||||||
|
if (portaType[k]!=3 || (hasNote && note>0)) {
|
||||||
|
portaStatusChanged[k]=true;
|
||||||
|
}
|
||||||
|
portaType[k]=3;
|
||||||
|
porting[k]=true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue