add effects for rear panning

This commit is contained in:
tildearrow 2023-01-05 03:08:57 -05:00
parent 71e40dc015
commit 707bbb54ea
9 changed files with 88 additions and 8 deletions

View file

@ -1182,6 +1182,7 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
case DIV_SYSTEM_OPL3:
case DIV_SYSTEM_OPL3_DRUMS: {
int clockSel=flags.getInt("clockSel",0);
bool compatPan=flags.getBool("compatPan",false);
ImGui::Text("Clock rate:");
if (ImGui::RadioButton("14.32MHz (NTSC)",clockSel==0)) {
@ -1205,9 +1206,14 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
altered=true;
}
if (ImGui::Checkbox("Compatible panning (0800)",&compatPan)) {
altered=true;
}
if (altered) {
e->lockSave([&]() {
flags.set("clockSel",clockSel);
flags.set("compatPan",compatPan);
});
}
break;