mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-07 16:12:31 +00:00
prevent accidental loading of .brr as DMP
This commit is contained in:
parent
a637806e28
commit
a09ccb9b30
1 changed files with 6 additions and 1 deletions
|
@ -1980,7 +1980,12 @@ std::vector<DivInstrument*> DivEngine::instrumentFromFile(const char* path, bool
|
|||
format=DIV_INSFORMAT_WOPL;
|
||||
} else if (extS==".wopn") {
|
||||
format=DIV_INSFORMAT_WOPN;
|
||||
}
|
||||
} else {
|
||||
// unknown format
|
||||
lastError="unknown instrument format";
|
||||
delete[] buf;
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
switch (format) {
|
||||
|
|
Loading…
Reference in a new issue