diff --git a/Analyser/Static/AmstradCPC/StaticAnalyser.cpp b/Analyser/Static/AmstradCPC/StaticAnalyser.cpp index ac27c294f..7e6dc88eb 100644 --- a/Analyser/Static/AmstradCPC/StaticAnalyser.cpp +++ b/Analyser/Static/AmstradCPC/StaticAnalyser.cpp @@ -223,13 +223,13 @@ void Analyser::Static::AmstradCPC::AddTargets(const Media &media, std::vectormedia.disks.front(), target)) { + if(CheckBootSector(disk, target)) { target->media.disks.push_back(disk); continue; } // Failing that check for a system catalogue. - std::unique_ptr system_catalogue = Storage::Disk::CPM::GetCatalogue(target->media.disks.front(), system_format); + std::unique_ptr system_catalogue = Storage::Disk::CPM::GetCatalogue(disk, system_format); if(system_catalogue) { InspectCatalogue(*system_catalogue, target); target->media.disks.push_back(disk);