dev194 - OPLL: enable fixedAll by default

issue #1648
This commit is contained in:
tildearrow 2024-03-11 13:49:14 -05:00
parent 0ac63d817d
commit 98396beda9
4 changed files with 16 additions and 4 deletions

View file

@ -2052,6 +2052,18 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
}
}
// OPLL fixedAll compat
if (ds.version<194) {
for (int i=0; i<ds.systemLen; i++) {
if (ds.system[i]==DIV_SYSTEM_OPLL ||
ds.system[i]==DIV_SYSTEM_OPLL_DRUMS) {
if (!ds.systemFlags[i].has("fixedAll")) {
ds.systemFlags[i].set("fixedAll",false);
}
}
}
}
if (active) quitDispatch();
BUSY_BEGIN_SOFT;
saveLock.lock();