dev145 - Namco WSG: new noise strategy for C30

This commit is contained in:
tildearrow 2023-03-09 02:55:16 -05:00
parent 3cede1c2fd
commit 8c706f71a9
5 changed files with 40 additions and 5 deletions

View file

@ -1704,6 +1704,20 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
}
break;
}
case DIV_SYSTEM_NAMCO_CUS30: {
bool newNoise=flags.getBool("newNoise",true);
if (InvCheckbox("Compatible noise frequencies",&newNoise)) {
altered=true;
}
if (altered) {
e->lockSave([&]() {
flags.set("newNoise",newNoise);
});
}
break;
}
case DIV_SYSTEM_SM8521:/* {
bool noAntiClick=flags.getBool("noAntiClick",false);
@ -1724,11 +1738,14 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
case DIV_SYSTEM_VBOY:
case DIV_SYSTEM_GA20:
case DIV_SYSTEM_PV1000:
case DIV_SYSTEM_NAMCO:
case DIV_SYSTEM_NAMCO_15XX:
ImGui::Text("nothing to configure");
break;
case DIV_SYSTEM_VERA:
case DIV_SYSTEM_YMU759:
supportsCustomRate=false;
ImGui::Text("nothing to configure");
break;
default: {
bool sysPal=flags.getInt("clockSel",0);