PCE: add option to pick A/non-A revision of chip

This commit is contained in:
tildearrow 2022-08-04 23:37:28 -05:00
parent 3a18e1e6fc
commit 049ab06544
2 changed files with 18 additions and 2 deletions

View file

@ -118,6 +118,13 @@ void FurnaceGUI::drawSysConf(int chan, DivSystem type, unsigned int& flags, bool
if (ImGui::Checkbox("Disable anti-click",&antiClick)) {
copyOfFlags=(flags&(~8))|(antiClick<<3);
}
ImGui::Text("Chip revision:");
if (ImGui::RadioButton("HuC6280 (original)",(flags&4)==0)) {
copyOfFlags=(flags&(~4))|0;
}
if (ImGui::RadioButton("HuC6280A (SuperGrafx)",(flags&4)==4)) {
copyOfFlags=(flags&(~4))|4;
}
break;
}
case DIV_SYSTEM_SOUND_UNIT: {