From 13c8032465b30cd15c4bcaca93d6b26f41a20c04 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 25 Oct 2020 18:29:17 -0400 Subject: [PATCH] ROM isn't writeable. The clue is in the name. --- Machines/Apple/AppleIIgs/AppleIIgs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Apple/AppleIIgs/AppleIIgs.cpp b/Machines/Apple/AppleIIgs/AppleIIgs.cpp index 81022f893..f6a3b6ad5 100644 --- a/Machines/Apple/AppleIIgs/AppleIIgs.cpp +++ b/Machines/Apple/AppleIIgs/AppleIIgs.cpp @@ -224,7 +224,7 @@ class ConcreteMachine: set_storage(uint32_t(c), &slow_ram[c - 0xe00000], &slow_ram[c - 0xe00000]); } for(uint32_t c = 0; c < uint32_t(rom_bank_count); ++c) { - set_storage((first_rom_bank + c) << 16, &rom_[c << 16], &rom_[c << 16]); + set_storage((first_rom_bank + c) << 16, &rom_[c << 16], nullptr); } // Apply initial language/auxiliary state. [TODO: including shadowing register].