From 2c12a7d968cfdd2f5b7f6fac49879a6dae6513ec Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 23 Jun 2022 12:12:02 -0400 Subject: [PATCH] Make absolutely sure there's no address bit 24. --- Processors/65816/Implementation/65816Implementation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/65816/Implementation/65816Implementation.hpp b/Processors/65816/Implementation/65816Implementation.hpp index 3a50f3d72..86e561445 100644 --- a/Processors/65816/Implementation/65816Implementation.hpp +++ b/Processors/65816/Implementation/65816Implementation.hpp @@ -9,7 +9,7 @@ template void Processor::run_for(const Cycles cycles) { #define perform_bus(address, value, operation) \ - bus_address_ = address; \ + bus_address_ = address & 0xff'ffff; \ bus_value_ = value; \ bus_operation_ = operation