From 6f48ffba16b80cc3820364ae05f3f4132133a52a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 15 Nov 2023 14:30:30 -0500 Subject: [PATCH] Add enough of a ScanProducer to run. --- Machines/PCCompatible/PCCompatible.cpp | 11 ++++++++++- .../MachinePicker/Base.lproj/MachinePicker.xib | 10 +++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Machines/PCCompatible/PCCompatible.cpp b/Machines/PCCompatible/PCCompatible.cpp index 80288da8e..e88ce0d59 100644 --- a/Machines/PCCompatible/PCCompatible.cpp +++ b/Machines/PCCompatible/PCCompatible.cpp @@ -10,13 +10,15 @@ #include "../../InstructionSets/x86/Instruction.hpp" #include "../../InstructionSets/x86/Perform.hpp" +#include "../ScanProducer.hpp" #include "../TimedMachine.hpp" namespace PCCompatible { class ConcreteMachine: public Machine, - public MachineTypes::TimedMachine + public MachineTypes::TimedMachine, + public MachineTypes::ScanProducer { public: ConcreteMachine( @@ -34,8 +36,15 @@ class ConcreteMachine: } } + // MARK: - TimedMachine. void run_for([[maybe_unused]] const Cycles cycles) override {} + // MARK: - ScanProducer. + void set_scan_target([[maybe_unused]] Outputs::Display::ScanTarget *scan_target) override {} + Outputs::Display::ScanStatus get_scaled_scan_status() const override { + return Outputs::Display::ScanStatus(); + } + private: }; diff --git a/OSBindings/Mac/Clock Signal/MachinePicker/Base.lproj/MachinePicker.xib b/OSBindings/Mac/Clock Signal/MachinePicker/Base.lproj/MachinePicker.xib index 540acaa95..8bac45227 100644 --- a/OSBindings/Mac/Clock Signal/MachinePicker/Base.lproj/MachinePicker.xib +++ b/OSBindings/Mac/Clock Signal/MachinePicker/Base.lproj/MachinePicker.xib @@ -64,11 +64,11 @@ Gw - + - + @@ -82,7 +82,7 @@ Gw - + @@ -90,7 +90,7 @@ Gw - + @@ -98,7 +98,7 @@ Gw - +