From d74e54342d3417100f4d6df1111efc6484b23205 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 27 Apr 2024 20:53:08 +0200 Subject: [PATCH] spaces --- bus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bus.cpp b/bus.cpp index 5d73884..8ac8d26 100644 --- a/bus.cpp +++ b/bus.cpp @@ -629,9 +629,9 @@ uint32_t bus::calculate_physical_address(const int run_mode, const uint16_t a, c uint32_t m_offset = a; if (mmu_->is_enabled() || (is_write && (mmu_->getMMR0() & (1 << 8 /* maintenance check */)))) { - const uint8_t apf = a >> 13; // active page field + uint8_t apf = a >> 13; // active page field - bool d = space == d_space && mmu_->get_use_data_space(run_mode) ? space == d_space : false; + bool d = space == d_space && mmu_->get_use_data_space(run_mode) ? space == d_space : false; uint16_t p_offset = a & 8191; // page offset