fix version 9 .dmp -_-
This commit is contained in:
parent
5ff1c9d70d
commit
82ae2bf877
|
@ -261,7 +261,13 @@ std::vector<DivInstrument*> DivEngine::instrumentFromFile(const char* path) {
|
|||
logD("reading FM data...\n");
|
||||
if (version<10) {
|
||||
if (version>1) {
|
||||
// bullcrap! no way to determine the instrument type other than a vague FM/STD!
|
||||
if (reader.size()==51) {
|
||||
reader.readC();
|
||||
ins->fm.ops=4;
|
||||
} else {
|
||||
ins->fm.ops=reader.readC()?4:2;
|
||||
}
|
||||
} else {
|
||||
ins->fm.ops=reader.readC()?2:4;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue