mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Ensures BIOS is really not paged if not loaded.
This commit is contained in:
parent
fcdc1bfbd0
commit
7a12a0149a
@ -126,7 +126,6 @@ class ConcreteMachine:
|
|||||||
paging_registers_[1] = 1;
|
paging_registers_[1] = 1;
|
||||||
paging_registers_[2] = 0;
|
paging_registers_[2] = 0;
|
||||||
}
|
}
|
||||||
page_cartridge();
|
|
||||||
|
|
||||||
// Load the BIOS if relevant.
|
// Load the BIOS if relevant.
|
||||||
if(has_bios()) {
|
if(has_bios()) {
|
||||||
@ -145,6 +144,7 @@ class ConcreteMachine:
|
|||||||
memcpy(&bios_, roms[0]->data(), roms[0]->size());
|
memcpy(&bios_, roms[0]->data(), roms[0]->size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
page_cartridge();
|
||||||
|
|
||||||
// Map RAM.
|
// Map RAM.
|
||||||
if(is_master_system(model_)) {
|
if(is_master_system(model_)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user