Merge branch 'master' of https://github.com/tildearrow/furnace into opn_volbalance

This commit is contained in:
cam900 2023-01-14 11:51:46 +09:00
commit a8e388091a
149 changed files with 2925 additions and 1761 deletions

View file

@ -1230,6 +1230,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)) {
@ -1253,9 +1254,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;