GUI: add presets for FDS and MMC5

This commit is contained in:
tildearrow 2022-04-04 00:48:08 -05:00
parent eee2500b5c
commit e5a162dbe6
3 changed files with 18 additions and 0 deletions

View File

@ -389,6 +389,8 @@ const int availableSystems[]={
DIV_SYSTEM_PET,
DIV_SYSTEM_VIC20,
DIV_SYSTEM_VRC6,
DIV_SYSTEM_FDS,
DIV_SYSTEM_MMC5,
0 // don't remove this last one!
};

View File

@ -241,6 +241,13 @@ void FurnaceGUI::initSystemPresets() {
0
}
));
cat.systems.push_back(FurnaceGUISysDef(
"NES with MMC5", {
DIV_SYSTEM_NES, 64, 0, 0,
DIV_SYSTEM_MMC5, 64, 0, 0,
0
}
));
cat.systems.push_back(FurnaceGUISysDef(
"NES with Sunsoft 5B", {
DIV_SYSTEM_NES, 64, 0, 0,
@ -269,6 +276,13 @@ void FurnaceGUI::initSystemPresets() {
0
}
));
cat.systems.push_back(FurnaceGUISysDef(
"Famicom Disk System", {
DIV_SYSTEM_NES, 64, 0, 0,
DIV_SYSTEM_FDS, 64, 0, 0,
0
}
));
cat.systems.push_back(FurnaceGUISysDef(
"Mattel Intellivision", {
DIV_SYSTEM_AY8910, 64, 0, 48,

View File

@ -148,6 +148,8 @@ void FurnaceGUI::drawSysConf(int i) {
break;
case DIV_SYSTEM_NES:
case DIV_SYSTEM_VRC6:
case DIV_SYSTEM_FDS:
case DIV_SYSTEM_MMC5:
if (ImGui::RadioButton("NTSC (1.79MHz)",flags==0)) {
e->setSysFlags(i,0,restart);
updateWindowTitle();