S3M/XM/IT import: fix contiguous slide/porta
This commit is contained in:
parent
f68249f52b
commit
8d11b4a840
3 changed files with 36 additions and 3 deletions
|
|
@ -913,6 +913,9 @@ bool DivEngine::loadS3M(unsigned char* file, size_t len) {
|
|||
if (hasNoteIns) {
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
if (portaType[chan]!=2) {
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
portaType[chan]=2;
|
||||
porting[chan]=true;
|
||||
break;
|
||||
|
|
@ -924,6 +927,9 @@ bool DivEngine::loadS3M(unsigned char* file, size_t len) {
|
|||
if (hasNoteIns) {
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
if (portaType[chan]!=1) {
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
portaType[chan]=1;
|
||||
porting[chan]=true;
|
||||
break;
|
||||
|
|
@ -935,6 +941,9 @@ bool DivEngine::loadS3M(unsigned char* file, size_t len) {
|
|||
if (hasNoteIns) {
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
if (portaType[chan]!=3) {
|
||||
portaStatusChanged[chan]=true;
|
||||
}
|
||||
portaType[chan]=3;
|
||||
porting[chan]=true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue