what?
This commit is contained in:
parent
3a59e260d8
commit
d112cd0c68
|
@ -259,7 +259,9 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
|
||||||
// instruments in ancient versions were all FM or STD.
|
// instruments in ancient versions were all FM or STD.
|
||||||
ins->mode=1;
|
ins->mode=1;
|
||||||
} else {
|
} else {
|
||||||
ins->mode=reader.readC();
|
unsigned char mode=reader.readC();
|
||||||
|
if (mode>1) logW("%d: invalid instrument mode %d!\n",i,mode);
|
||||||
|
ins->mode=mode;
|
||||||
}
|
}
|
||||||
ins->type=ins->mode?DIV_INS_FM:DIV_INS_STD;
|
ins->type=ins->mode?DIV_INS_FM:DIV_INS_STD;
|
||||||
if (ds.system[0]==DIV_SYSTEM_GB) {
|
if (ds.system[0]==DIV_SYSTEM_GB) {
|
||||||
|
|
Loading…
Reference in a new issue