mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 01:31:42 +00:00
Supplied disks are given to the Microdisc.
This commit is contained in:
parent
4af678d2ed
commit
8be81f6ebd
@ -48,6 +48,13 @@ void Machine::configure_as_target(const StaticAnalyser::Target &target)
|
||||
microdisc_.set_delegate(this);
|
||||
}
|
||||
|
||||
int drive_index = 0;
|
||||
for(auto disk : target.disks)
|
||||
{
|
||||
if(drive_index < 4) microdisc_.set_disk(disk, drive_index);
|
||||
drive_index++;
|
||||
}
|
||||
|
||||
if(target.oric.use_atmos_rom)
|
||||
{
|
||||
memcpy(rom_, basic11_rom_.data(), std::min(basic11_rom_.size(), sizeof(rom_)));
|
||||
|
Loading…
Reference in New Issue
Block a user