From 4f5eb4d71b684a35f48dea70f4445eb5dd1b3537 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 26 Feb 2021 21:25:11 -0500 Subject: [PATCH] Adds the Mac 128k & 512k as Qt options. --- OSBindings/Qt/mainwindow.cpp | 6 ++++-- OSBindings/Qt/mainwindow.ui | 10 ++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/OSBindings/Qt/mainwindow.cpp b/OSBindings/Qt/mainwindow.cpp index 86afb4691..add228524 100644 --- a/OSBindings/Qt/mainwindow.cpp +++ b/OSBindings/Qt/mainwindow.cpp @@ -1175,8 +1175,10 @@ void MainWindow::start_macintosh() { auto target = std::make_unique(); switch(ui->macintoshModelComboBox->currentIndex()) { - default: target->model = Target::Model::Mac512ke; break; - case 1: target->model = Target::Model::MacPlus; break; + default: target->model = Target::Model::Mac128k; break; + case 1: target->model = Target::Model::Mac512k; break; + case 2: target->model = Target::Model::Mac512ke; break; + case 3: target->model = Target::Model::MacPlus; break; } launchTarget(std::move(target)); diff --git a/OSBindings/Qt/mainwindow.ui b/OSBindings/Qt/mainwindow.ui index e7d29c142..88acf3f0e 100644 --- a/OSBindings/Qt/mainwindow.ui +++ b/OSBindings/Qt/mainwindow.ui @@ -248,6 +248,16 @@ + + + 128k + + + + + 512k + + 512ke