1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-27 02:29:12 +00:00

Ensures the contextually-proper boot and state machine ROMs are requested.

This commit is contained in:
Thomas Harte 2018-04-24 20:25:02 -07:00
parent 2685e9087e
commit b4f6dee954

View File

@ -14,8 +14,8 @@ DiskIICard::DiskIICard(const ROMMachine::ROMFetcher &rom_fetcher, bool is_16_sec
auto roms = rom_fetcher(
"DiskII",
{
"boot.rom",
"state-machine.rom"
is_16_sector ? "boot-16.rom" : "boot-13.rom",
is_16_sector ? "state-machine-16.rom" : "state-machine-13.rom"
});
boot_ = std::move(*roms[0]);
diskii_.set_state_machine(*roms[1]);