From 41a618c957736dbe1ebfbb0f53b9e53c225303bf Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 31 Jan 2021 10:13:32 -0500 Subject: [PATCH] Adds new Electron configuration options to the Qt UI. --- OSBindings/Qt/mainwindow.cpp | 4 ++++ OSBindings/Qt/mainwindow.ui | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/OSBindings/Qt/mainwindow.cpp b/OSBindings/Qt/mainwindow.cpp index 5e6b66410..8a0b781da 100644 --- a/OSBindings/Qt/mainwindow.cpp +++ b/OSBindings/Qt/mainwindow.cpp @@ -1164,6 +1164,8 @@ void MainWindow::start_electron() { target->has_dfs = ui->electronDFSCheckBox->isChecked(); target->has_adfs = ui->electronADFSCheckBox->isChecked(); + target->has_ap6_rom = ui->electronAP6CheckBox->isChecked(); + target->has_sideways_ram = ui->electronSidewaysRAMCheckBox->isChecked(); launchTarget(std::move(target)); } @@ -1298,6 +1300,8 @@ void MainWindow::launchTarget(std::unique_ptr &&target /* Electron. */ \ CheckBox(electronDFSCheckBox, "electron.hasDFS"); \ CheckBox(electronADFSCheckBox, "electron.hasADFS"); \ + CheckBox(electronAP6CheckBox, "electron.hasAP6"); \ + CheckBox(electronSidewaysRAMCheckBox, "electron.fillSidewaysRAM"); \ \ /* Macintosh. */ \ ComboBox(macintoshModelComboBox, "macintosh.model"); \ diff --git a/OSBindings/Qt/mainwindow.ui b/OSBindings/Qt/mainwindow.ui index a9439f40b..e7d29c142 100644 --- a/OSBindings/Qt/mainwindow.ui +++ b/OSBindings/Qt/mainwindow.ui @@ -201,6 +201,20 @@ + + + + With Advanced Plus 6 Utility ROM + + + + + + + Fill unused ROM banks with sideways RAM + + +