what the hell

This commit is contained in:
tildearrow 2025-11-09 01:56:36 -05:00
parent f45bb97318
commit 734f36b483
4 changed files with 20 additions and 4 deletions

View file

@ -732,6 +732,19 @@ void DivSong::unload() {
// from this point onwards, a mess.
void DivSong::convertLegacySampleMode() {
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++) {
}
}
}
}
}