total extinction of legacy sample mode, part 5

partially working converter
This commit is contained in:
tildearrow 2025-11-09 05:23:32 -05:00
parent 734f36b483
commit 0f5455831a
9 changed files with 279 additions and 119 deletions

View file

@ -728,23 +728,4 @@ void DivSong::unload() {
delete i;
}
subsong.clear();
}
// from this point onwards, a mess.
void DivSong::convertLegacySampleMode(int chans) {
for (DivSubSong* h: subsong) {
for (int i=0; i<chans; i++) {
unsigned char sampleMode=0;
for (int j=0; j<h->ordersLen; j++) {
DivPattern* p=h->pat[i].data[h->orders.ord[i][j]];
if (p==NULL) continue;
switch (
for (int k=0; k<h->patLen; k++) {
}
}
}
}
}
}