1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

ROM isn't writeable. The clue is in the name.

This commit is contained in:
Thomas Harte 2020-10-25 18:29:17 -04:00
parent 44fc08cd5b
commit 13c8032465

View File

@ -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].