mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 22:15:14 +00:00
XM import: what?
This commit is contained in:
parent
66897d577a
commit
ac7548d9b0
1 changed files with 3 additions and 1 deletions
|
@ -226,10 +226,12 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
|
||||||
unsigned char panEnv[48];
|
unsigned char panEnv[48];
|
||||||
|
|
||||||
DivInstrument* ins=new DivInstrument;
|
DivInstrument* ins=new DivInstrument;
|
||||||
logV("instrument %d",i);
|
logD("instrument %d",i);
|
||||||
headerSeek=reader.tell();
|
headerSeek=reader.tell();
|
||||||
headerSeek+=reader.readI();
|
headerSeek+=reader.readI();
|
||||||
|
|
||||||
|
logV("the freaking thing ends at %x",headerSeek);
|
||||||
|
|
||||||
ins->name=reader.readStringLatin1(22);
|
ins->name=reader.readStringLatin1(22);
|
||||||
ins->type=DIV_INS_AMIGA;
|
ins->type=DIV_INS_AMIGA;
|
||||||
ins->amiga.useNoteMap=true;
|
ins->amiga.useNoteMap=true;
|
||||||
|
|
Loading…
Reference in a new issue