mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 05:25:12 +00:00
what?
This commit is contained in:
parent
3a59e260d8
commit
d112cd0c68
1 changed files with 3 additions and 1 deletions
|
@ -259,7 +259,9 @@ bool DivEngine::loadDMF(unsigned char* file, size_t len) {
|
|||
// instruments in ancient versions were all FM or STD.
|
||||
ins->mode=1;
|
||||
} 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;
|
||||
if (ds.system[0]==DIV_SYSTEM_GB) {
|
||||
|
|
Loading…
Reference in a new issue