XM/IT import: fix note + porta without ins
This commit is contained in:
parent
4446ffe06d
commit
ca9996f3c5
|
@ -1341,7 +1341,7 @@ bool DivEngine::loadIT(unsigned char* file, size_t len) {
|
|||
portaStatus[chan]=effectVal[chan];
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
if (portaType[chan]!=3) {
|
||||
if (portaType[chan]!=3 || hasNote) {
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
portaType[chan]=3;
|
||||
|
|
|
@ -977,7 +977,7 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
|
|||
portaStatus[k]=effectVal;
|
||||
portaStatusChanged[k]=true;
|
||||
}
|
||||
if (portaType[k]!=3) {
|
||||
if (portaType[k]!=3 || (hasNote && note>0)) {
|
||||
portaStatusChanged[k]=true;
|
||||
}
|
||||
portaType[k]=3;
|
||||
|
|
Loading…
Reference in a new issue