From 7a12a0149a057d3ef6ec0e2483b556faf72d681c Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 23 Mar 2020 20:00:31 -0400 Subject: [PATCH] Ensures BIOS is really not paged if not loaded. --- Machines/MasterSystem/MasterSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/MasterSystem/MasterSystem.cpp b/Machines/MasterSystem/MasterSystem.cpp index 06859d6bd..d4750ea37 100644 --- a/Machines/MasterSystem/MasterSystem.cpp +++ b/Machines/MasterSystem/MasterSystem.cpp @@ -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_)) {