mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-04 01:57:54 +00:00
Ensures unmapped regions are really unmapped.
This commit is contained in:
parent
034056d0cd
commit
0d562699a2
@ -452,7 +452,7 @@ class MemoryMap {
|
|||||||
//
|
//
|
||||||
// Pointers are eight bytes at the time of writing, so the extra level of indirection
|
// Pointers are eight bytes at the time of writing, so the extra level of indirection
|
||||||
// reduces what would otherwise be a 1.25mb table down to not a great deal more than 64kb.
|
// reduces what would otherwise be a 1.25mb table down to not a great deal more than 64kb.
|
||||||
std::array<uint8_t, 65536> region_map;
|
std::array<uint8_t, 65536> region_map{};
|
||||||
uint8_t *ram_base = nullptr;
|
uint8_t *ram_base = nullptr;
|
||||||
uint8_t *shadow_base[2] = {&shadow_throwaway_, nullptr};
|
uint8_t *shadow_base[2] = {&shadow_throwaway_, nullptr};
|
||||||
const int shadow_modulo[2] = {1, 128*1024};
|
const int shadow_modulo[2] = {1, 128*1024};
|
||||||
|
Loading…
Reference in New Issue
Block a user