From 57b32d9537ca4d21ee776bf73e3b70c8cfac69e1 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 4 Apr 2021 20:48:15 -0400 Subject: [PATCH] Avoid adding additional threading constraints. --- Machines/Electron/Electron.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Machines/Electron/Electron.cpp b/Machines/Electron/Electron.cpp index edc0c9807..e76566a2d 100644 --- a/Machines/Electron/Electron.cpp +++ b/Machines/Electron/Electron.cpp @@ -521,19 +521,19 @@ template class ConcreteMachine: } void set_scan_target(Outputs::Display::ScanTarget *scan_target) final { - video_->set_scan_target(scan_target); + video_.last_valid()->set_scan_target(scan_target); } Outputs::Display::ScanStatus get_scaled_scan_status() const final { - return video_->get_scaled_scan_status(); + return video_.last_valid()->get_scaled_scan_status(); } void set_display_type(Outputs::Display::DisplayType display_type) final { - video_->set_display_type(display_type); + video_.last_valid()->set_display_type(display_type); } Outputs::Display::DisplayType get_display_type() const final { - return video_->get_display_type(); + return video_.last_valid()->get_display_type(); } Outputs::Speaker::Speaker *get_speaker() final {