mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 05:25:12 +00:00
fix .dmp loading
This commit is contained in:
parent
798790029f
commit
023d065fcc
1 changed files with 1 additions and 3 deletions
|
@ -171,9 +171,7 @@ void DivEngine::loadDMP(SafeReader& reader, std::vector<DivInstrument*>& ret, St
|
|||
mode=reader.readC();
|
||||
logD("instrument mode is %d",mode);
|
||||
if (mode==0) {
|
||||
if (version<11) {
|
||||
ins->type=DIV_INS_STD;
|
||||
}
|
||||
if (ins->type==DIV_INS_FM) ins->type=DIV_INS_STD;
|
||||
} else {
|
||||
ins->type=DIV_INS_FM;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue