1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Avoid BASIC 2.1 requirement when running 1.1.

This commit is contained in:
Thomas Harte 2023-05-15 10:17:27 -04:00
parent a1a7c0e253
commit 7f8f1d7e61

View File

@ -139,6 +139,7 @@ template <bool has_disk_controller, bool is_6mhz> 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 <bool has_disk_controller, bool is_6mhz> 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);
}