mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Ensures media is passed on from the Disk II analyser.
This commit is contained in:
parent
4c4ab25d0e
commit
d6e8b34942
@ -69,6 +69,7 @@ Analyser::Static::TargetList Analyser::Static::DiskII::GetTargets(const Media &m
|
|||||||
return targets;
|
return targets;
|
||||||
} else {
|
} else {
|
||||||
targets.push_back(std::unique_ptr<Analyser::Static::Target>(AppleTarget(nullptr)));
|
targets.push_back(std::unique_ptr<Analyser::Static::Target>(AppleTarget(nullptr)));
|
||||||
|
targets.back()->media = media;
|
||||||
return targets;
|
return targets;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -119,5 +120,6 @@ Analyser::Static::TargetList Analyser::Static::DiskII::GetTargets(const Media &m
|
|||||||
} else {
|
} else {
|
||||||
targets.push_back(std::unique_ptr<Analyser::Static::Target>(AppleTarget(sector_zero)));
|
targets.push_back(std::unique_ptr<Analyser::Static::Target>(AppleTarget(sector_zero)));
|
||||||
}
|
}
|
||||||
|
targets.back()->media = media;
|
||||||
return targets;
|
return targets;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user