Merge pull request #279 from cam900/intv_alt

Add AY-3-8914 support as configurable in AY-3-8910
This commit is contained in:
tildearrow 2022-03-13 11:17:36 -05:00 committed by GitHub
commit d607f35aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 79 additions and 13 deletions

View file

@ -5596,6 +5596,10 @@ bool FurnaceGUI::loop() {
e->setSysFlags(i,(flags&(~0x30))|32,restart);
updateWindowTitle();
}
if (ImGui::RadioButton("AY-3-8914",(flags&0x30)==48)) {
e->setSysFlags(i,(flags&(~0x30))|48,restart);
updateWindowTitle();
}
}
bool stereo=flags&0x40;
ImGui::BeginDisabled((flags&0x30)==32);
@ -7177,7 +7181,7 @@ FurnaceGUI::FurnaceGUI():
));
cat.systems.push_back(FurnaceGUISysDef(
"Mattel Intellivision", {
DIV_SYSTEM_AY8910, 64, 0, 6,
DIV_SYSTEM_AY8910, 64, 0, 48,
0
}
));