fix critical bug that breaks initial system
it was caused by the intro...
This commit is contained in:
parent
b0f0fa8a05
commit
c04f123344
|
@ -1481,6 +1481,7 @@ void DivEngine::createNewFromDefaults() {
|
|||
bool oldVol=getConfInt("configVersion",DIV_ENGINE_VERSION)<135;
|
||||
if (preset.empty()) {
|
||||
// try loading old preset
|
||||
logD("trying to load old preset");
|
||||
preset=decodeSysDesc(getConfString("initialSys",""));
|
||||
oldVol=false;
|
||||
}
|
||||
|
@ -4468,6 +4469,7 @@ bool DivEngine::init() {
|
|||
bool oldVol=getConfInt("configVersion",DIV_ENGINE_VERSION)<135;
|
||||
if (preset.empty()) {
|
||||
// try loading old preset
|
||||
logD("trying to load old preset");
|
||||
preset=decodeSysDesc(getConfString("initialSys",""));
|
||||
oldVol=false;
|
||||
}
|
||||
|
|
|
@ -2758,6 +2758,7 @@ void FurnaceGUI::syncSettings() {
|
|||
settings.initialSys.set(fmt::sprintf("pan%d",i),newPan);
|
||||
}
|
||||
e->setConf("initialSys2",settings.initialSys.toBase64());
|
||||
e->setConf("configVersion",DIV_ENGINE_VERSION);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue