From 27657fcde00e216070ee96b9f053dfd3d5ee6eb6 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 10 Jun 2018 21:02:19 -0400 Subject: [PATCH 1/2] Adds necessary header for `assert`. --- Storage/Disk/Track/PCMSegment.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Storage/Disk/Track/PCMSegment.cpp b/Storage/Disk/Track/PCMSegment.cpp index c9473bb56..b4718dd42 100644 --- a/Storage/Disk/Track/PCMSegment.cpp +++ b/Storage/Disk/Track/PCMSegment.cpp @@ -8,6 +8,8 @@ #include "PCMSegment.hpp" +#include + using namespace Storage::Disk; PCMSegmentEventSource::PCMSegmentEventSource(const PCMSegment &segment) : From 7d761f145fe840b6a927fb46f3b6d873d05f1c98 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 10 Jun 2018 21:05:14 -0400 Subject: [PATCH 2/2] Corrects typo that mapped Apple II options to the Electron. --- Machines/Utility/MachineForTarget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Utility/MachineForTarget.cpp b/Machines/Utility/MachineForTarget.cpp index 37f43e379..639fb04df 100644 --- a/Machines/Utility/MachineForTarget.cpp +++ b/Machines/Utility/MachineForTarget.cpp @@ -129,7 +129,7 @@ std::string Machine::LongNameForTargetMachine(Analyser::Machine machine) { std::map>> Machine::AllOptionsByMachineName() { std::map>> options; - options.emplace(std::make_pair(LongNameForTargetMachine(Analyser::Machine::Electron), AppleII::get_options())); + options.emplace(std::make_pair(LongNameForTargetMachine(Analyser::Machine::AppleII), AppleII::get_options())); options.emplace(std::make_pair(LongNameForTargetMachine(Analyser::Machine::Electron), Electron::get_options())); options.emplace(std::make_pair(LongNameForTargetMachine(Analyser::Machine::MSX), MSX::get_options())); options.emplace(std::make_pair(LongNameForTargetMachine(Analyser::Machine::Oric), Oric::get_options()));