mirror of
				https://github.com/TomHarte/CLK.git
				synced 2025-10-31 05:16:08 +00:00 
			
		
		
		
	Ensures BIOS is really not paged if not loaded.
This commit is contained in:
		| @@ -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_)) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user