diff --git a/Machines/Apple/AppleIIgs/MemoryMap.hpp b/Machines/Apple/AppleIIgs/MemoryMap.hpp index 4d8dda0f8..e47441032 100644 --- a/Machines/Apple/AppleIIgs/MemoryMap.hpp +++ b/Machines/Apple/AppleIIgs/MemoryMap.hpp @@ -359,6 +359,7 @@ class MemoryMap { // Affects bank $00 only, and should be a single region. auto ®ion = regions[region_map[0]]; region.read = region.write = auxiliary_switches_.zero_state() ? &ram_base[0x10000] : ram_base; + assert(region_map[0x0000]+1 == region_map[0x0002]); // Switching to or from auxiliary RAM potentially affects the language // and regular card areas.