From 7f8f1d7e61fab0c3f71e30119f695c027c2e3204 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 15 May 2023 10:17:27 -0400 Subject: [PATCH] Avoid BASIC 2.1 requirement when running 1.1. --- Machines/Enterprise/Enterprise.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Machines/Enterprise/Enterprise.cpp b/Machines/Enterprise/Enterprise.cpp index a361657e2..45cbea195 100644 --- a/Machines/Enterprise/Enterprise.cpp +++ b/Machines/Enterprise/Enterprise.cpp @@ -139,6 +139,7 @@ template class ConcreteMachine: ROM::Request(ROM::Name::EnterpriseBASIC11) || ROM::Request(ROM::Name::EnterpriseBASIC11Suffixed) ); + break; case Target::BASICVersion::v21: request = request && ROM::Request(ROM::Name::EnterpriseBASIC21); break; @@ -724,7 +725,7 @@ template class ConcreteMachine: EXDos exdos_; // MARK: - Activity Source - void set_activity_observer(Activity::Observer *observer) final { + void set_activity_observer([[maybe_unused]] Activity::Observer *observer) final { if constexpr (has_disk_controller) { exdos_.set_activity_observer(observer); }