mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-15 05:31:30 +00:00
Adds the Mac 128k & 512k as Qt options.
This commit is contained in:
parent
a1df8452ce
commit
4f5eb4d71b
@ -1175,8 +1175,10 @@ void MainWindow::start_macintosh() {
|
|||||||
auto target = std::make_unique<Target>();
|
auto target = std::make_unique<Target>();
|
||||||
|
|
||||||
switch(ui->macintoshModelComboBox->currentIndex()) {
|
switch(ui->macintoshModelComboBox->currentIndex()) {
|
||||||
default: target->model = Target::Model::Mac512ke; break;
|
default: target->model = Target::Model::Mac128k; break;
|
||||||
case 1: target->model = Target::Model::MacPlus; 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));
|
launchTarget(std::move(target));
|
||||||
|
@ -248,6 +248,16 @@
|
|||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QComboBox" name="macintoshModelComboBox">
|
<widget class="QComboBox" name="macintoshModelComboBox">
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>128k</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>512k</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>512ke</string>
|
<string>512ke</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user