GUI: forgot about sysConf

This commit is contained in:
tildearrow 2024-03-13 03:29:35 -05:00
parent 7ffc67529c
commit 0ab0dec9f4

View file

@ -588,6 +588,7 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
bool keyPriority=flags.getBool("keyPriority",true);
bool no1EUpdate=flags.getBool("no1EUpdate",false);
bool multiplyRel=flags.getBool("multiplyRel",false);
bool macroRace=flags.getBool("macroRace",false);
int testAttack=flags.getInt("testAttack",0);
int testDecay=flags.getInt("testDecay",0);
int testSustain=flags.getInt("testSustain",0);
@ -667,6 +668,10 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
altered=true;
}
if (ImGui::Checkbox("Cutoff macro race conditions (compatibility)",&macroRace)) {
altered=true;
}
if (altered) {
e->lockSave([&]() {
@ -674,6 +679,7 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
flags.set("keyPriority",keyPriority);
flags.set("no1EUpdate",no1EUpdate);
flags.set("multiplyRel",multiplyRel);
flags.set("macroRace",macroRace);
flags.set("testAttack",testAttack);
flags.set("testDecay",testDecay);
flags.set("testSustain",testSustain);