From 13b32b269c0293cd5504232b7ef4ff707d4c9edb Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 12 Mar 2025 12:47:04 -0400 Subject: [PATCH] Force the AT in debug mode only. --- Machines/PCCompatible/PCCompatible.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Machines/PCCompatible/PCCompatible.cpp b/Machines/PCCompatible/PCCompatible.cpp index 9b7cc6594..375089782 100644 --- a/Machines/PCCompatible/PCCompatible.cpp +++ b/Machines/PCCompatible/PCCompatible.cpp @@ -920,7 +920,11 @@ private: using namespace PCCompatible; namespace { +#ifndef NDEBUG static constexpr bool ForceAT = true; +#else +static constexpr bool ForceAT = false; +#endif template std::unique_ptr machine(const Target &target, const ROMMachine::ROMFetcher &rom_fetcher) {