XM/IT import: use amigaVol

This commit is contained in:
tildearrow 2024-06-23 19:39:06 -05:00
parent 106bbf9e1a
commit ec70fbfd6b
2 changed files with 2 additions and 0 deletions

View file

@ -47,6 +47,7 @@ bool DivEngine::loadIT(unsigned char* file, size_t len) {
ds.pitchSlideSpeed=4; ds.pitchSlideSpeed=4;
ds.system[0]=DIV_SYSTEM_ES5506; ds.system[0]=DIV_SYSTEM_ES5506;
ds.systemFlags[0].set("amigaVol",true);
ds.systemLen=1; ds.systemLen=1;
logV("Impulse Tracker module"); logV("Impulse Tracker module");

View file

@ -108,6 +108,7 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) {
for (int i=0; i<(totalChans+31)>>5; i++) { for (int i=0; i<(totalChans+31)>>5; i++) {
ds.system[i]=DIV_SYSTEM_ES5506; ds.system[i]=DIV_SYSTEM_ES5506;
ds.systemFlags[i].set("amigaVol",true);
} }
ds.systemLen=(totalChans+31)>>5; ds.systemLen=(totalChans+31)>>5;