1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-21 21:33:54 +00:00

Ensures BIOS is really not paged if not loaded.

This commit is contained in:
Thomas Harte 2020-03-23 20:00:31 -04:00
parent fcdc1bfbd0
commit 7a12a0149a

View File

@ -126,7 +126,6 @@ class ConcreteMachine:
paging_registers_[1] = 1;
paging_registers_[2] = 0;
}
page_cartridge();
// Load the BIOS if relevant.
if(has_bios()) {
@ -145,6 +144,7 @@ class ConcreteMachine:
memcpy(&bios_, roms[0]->data(), roms[0]->size());
}
}
page_cartridge();
// Map RAM.
if(is_master_system(model_)) {