XM import: fix vol col porta...

This commit is contained in:
tildearrow 2024-07-15 02:48:57 -05:00
parent 3816e5c277
commit 67ba1b17f9

View file

@ -934,7 +934,7 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
break; break;
case 0xf: // porta case 0xf: // porta
if ((vol&15)!=0) { if ((vol&15)!=0) {
portaStatus[k]=(vol&15); portaStatus[k]=(vol&15)<<4;
portaStatusChanged[k]=true; portaStatusChanged[k]=true;
} }
if (portaType[k]!=3 || (hasNote && note>0)) { if (portaType[k]!=3 || (hasNote && note>0)) {