XM import: what?

This commit is contained in:
tildearrow 2024-06-29 02:39:34 -05:00
parent 66897d577a
commit ac7548d9b0

View file

@ -226,10 +226,12 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
unsigned char panEnv[48];
DivInstrument* ins=new DivInstrument;
logV("instrument %d",i);
logD("instrument %d",i);
headerSeek=reader.tell();
headerSeek+=reader.readI();
logV("the freaking thing ends at %x",headerSeek);
ins->name=reader.readStringLatin1(22);
ins->type=DIV_INS_AMIGA;
ins->amiga.useNoteMap=true;