mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Adds a further safety assert.
This commit is contained in:
parent
cdc2311045
commit
56de2512ae
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user