diff --git a/Analyser/Static/Commodore/StaticAnalyser.cpp b/Analyser/Static/Commodore/StaticAnalyser.cpp index 5a5f41c78..ac846bc76 100644 --- a/Analyser/Static/Commodore/StaticAnalyser.cpp +++ b/Analyser/Static/Commodore/StaticAnalyser.cpp @@ -149,6 +149,9 @@ void Analyser::Static::Commodore::AddTargets(const Media &media, std::vectorregion = Analyser::Static::Commodore::Target::Region::American; } + // Attach a 1540 if there are any disks here. + target->has_c1540 = !target->media.disks.empty(); + destination.push_back(std::move(target)); } }