swan: Implement headphone/internal speaker output toggle
This commit is contained in:
parent
03b87258c8
commit
b59fc1e8f5
4 changed files with 30 additions and 9 deletions
|
|
@ -2664,7 +2664,19 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
|
|||
}
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_SWAN:
|
||||
case DIV_SYSTEM_SWAN: {
|
||||
bool stereo=flags.getBool("stereo",true);
|
||||
if (ImGui::Checkbox(_("Headphone output##_SWAN_STEREO"),&stereo)) {
|
||||
altered=true;
|
||||
}
|
||||
|
||||
if (altered) {
|
||||
e->lockSave([&]() {
|
||||
flags.set("stereo",stereo);
|
||||
});
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DIV_SYSTEM_BUBSYS_WSG:
|
||||
case DIV_SYSTEM_PET:
|
||||
case DIV_SYSTEM_GA20:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue