1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-22 09:37:21 +00:00

Force the AT in debug mode only.

This commit is contained in:
Thomas Harte 2025-03-12 12:47:04 -04:00
parent 592cea6a27
commit 13b32b269c

View File

@ -920,7 +920,11 @@ private:
using namespace PCCompatible;
namespace {
#ifndef NDEBUG
static constexpr bool ForceAT = true;
#else
static constexpr bool ForceAT = false;
#endif
template <Target::VideoAdaptor video>
std::unique_ptr<Machine> machine(const Target &target, const ROMMachine::ROMFetcher &rom_fetcher) {