From 2685e9087ecbbb42edca82293384cf81ed84bb8d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 24 Apr 2018 20:24:44 -0700 Subject: [PATCH] Changes the default-assigned Disk II card slot from 7 to 6. --- Machines/AppleII/AppleII.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Machines/AppleII/AppleII.cpp b/Machines/AppleII/AppleII.cpp index fc2b1cf10..3c39319a0 100644 --- a/Machines/AppleII/AppleII.cpp +++ b/Machines/AppleII/AppleII.cpp @@ -272,15 +272,15 @@ class ConcreteMachine: void configure_as_target(const Analyser::Static::Target *target) override { auto *const apple_target = dynamic_cast(target); if(apple_target->has_disk) { - cards_[6].reset(new AppleII::DiskIICard(rom_fetcher_, true)); + cards_[5].reset(new AppleII::DiskIICard(rom_fetcher_, true)); } insert_media(apple_target->media); } bool insert_media(const Analyser::Static::Media &media) override { - if(!media.disks.empty() && cards_[6]) { - dynamic_cast(cards_[6].get())->set_disk(media.disks[0], 0); + if(!media.disks.empty() && cards_[5]) { + dynamic_cast(cards_[5].get())->set_disk(media.disks[0], 0); } return true; }