1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-03 08:05:40 +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( auto roms = rom_fetcher(
"DiskII", "DiskII",
{ {
"boot.rom", is_16_sector ? "boot-16.rom" : "boot-13.rom",
"state-machine.rom" is_16_sector ? "state-machine-16.rom" : "state-machine-13.rom"
}); });
boot_ = std::move(*roms[0]); boot_ = std::move(*roms[0]);
diskii_.set_state_machine(*roms[1]); diskii_.set_state_machine(*roms[1]);