1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-07-23 16:24:17 +00:00

Adds extended Introduces extended ROM details for the C1540, Electron, Master System and MSX.

This commit is contained in:
Thomas Harte
2019-07-20 21:30:37 -04:00
parent 712cb473f7
commit f3aac603f8
4 changed files with 33 additions and 18 deletions

View File

@@ -132,7 +132,9 @@ class ConcreteMachine:
// Load the BIOS if relevant.
if(has_bios()) {
const auto roms = rom_fetcher("MasterSystem", { ROMMachine::ROM("bios.sms") });
// TODO: there's probably a million other versions of the Master System BIOS; try to build a
// CRC32 catalogue of those.
const auto roms = rom_fetcher("MasterSystem", { {"the Master System BIOS", "bios.sms", 8*1024, 0x0072ed54} });
if(!roms[0]) {
// No BIOS found; attempt to boot as though it has already disabled itself.
memory_control_ |= 0x08;