VIC-20: add an option to disable filters

This commit is contained in:
Natt Akuma 2024-10-18 03:17:04 +07:00 committed by tildearrow
parent 9fbb7df674
commit 665b722f31
5 changed files with 36 additions and 6 deletions

View file

@ -2612,6 +2612,25 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
}
break;
}
case DIV_SYSTEM_VIC20: {
bool sysPal=flags.getInt("clockSel",0);
bool filterOff=flags.getBool("filterOff",false);
if (ImGui::Checkbox(_("PAL"),&sysPal)) {
altered=true;
}
if (ImGui::Checkbox(_("Disable filtering"),&filterOff)) {
altered=true;
}
if (altered) {
e->lockSave([&]() {
flags.set("clockSel",(int)sysPal);
flags.set("filterOff",filterOff);
});
}
break;
}
case DIV_SYSTEM_SWAN:
case DIV_SYSTEM_BUBSYS_WSG:
case DIV_SYSTEM_PET: