1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00

Puts machine name into ROMMachine::ROM.

Also switches to idiomatic exit codes.
This commit is contained in:
Thomas Harte
2019-07-22 21:14:21 -04:00
parent 2129bfc570
commit 2432151bf8
15 changed files with 92 additions and 84 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ class ConcreteMachine:
if(has_bios()) {
// 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} });
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;