From 0d562699a274ee88b17397de1bf70e525c2c4f48 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 29 Oct 2020 22:18:01 -0400 Subject: [PATCH] Ensures unmapped regions are really unmapped. --- Machines/Apple/AppleIIgs/MemoryMap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Apple/AppleIIgs/MemoryMap.hpp b/Machines/Apple/AppleIIgs/MemoryMap.hpp index 4d2c20c39..377b7155e 100644 --- a/Machines/Apple/AppleIIgs/MemoryMap.hpp +++ b/Machines/Apple/AppleIIgs/MemoryMap.hpp @@ -452,7 +452,7 @@ class MemoryMap { // // 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. - std::array region_map; + std::array region_map{}; uint8_t *ram_base = nullptr; uint8_t *shadow_base[2] = {&shadow_throwaway_, nullptr}; const int shadow_modulo[2] = {1, 128*1024};