From 78ec9e5a6063d9c02840b09cf92075138cc4772c Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 23 May 2024 22:31:43 -0400 Subject: [PATCH] Limit character range. --- Machines/Acorn/Archimedes/Archimedes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Acorn/Archimedes/Archimedes.cpp b/Machines/Acorn/Archimedes/Archimedes.cpp index 3e4435a80..a37dd6890 100644 --- a/Machines/Acorn/Archimedes/Archimedes.cpp +++ b/Machines/Acorn/Archimedes/Archimedes.cpp @@ -179,7 +179,7 @@ class ConcreteMachine: uint8_t next; executor_.bus.read(address, next, false); if(next < 0x20) break; - desc.push_back(static_cast(next)); + desc.push_back(static_cast(next) & 0x7f); ++address; } return desc;