Merge branch 'master' of github.com:tildearrow/furnace

This commit is contained in:
tildearrow 2024-07-04 15:48:14 -05:00
commit 315e5a96bd
3 changed files with 39 additions and 6 deletions

View file

@ -161,16 +161,16 @@ bool DivEngine::loadS3M(unsigned char* file, size_t len) {
bool signedSamples=(reader.readS()==1);
logV("flags: %x",flags);
logV("version: %x",flags);
logV("version: %x",version);
if (signedSamples) {
logV("signed samples: yes");
} else {
logV("signed samples: no");
}
if ((flags&64) || version==0x1300) {
/*if ((flags&64) || version==0x1300) {
ds.noSlidesOnFirstTick=false;
}
}*/
reader.readI(); // "SCRM"
@ -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;