1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Avoid erroneous early exit.

This commit is contained in:
Thomas Harte 2023-12-28 10:06:18 -05:00
parent be8994a7b4
commit 54ddbb6b2b

View File

@ -33,7 +33,6 @@ void Parser::install_track(const Storage::Disk::Track::Address &address) {
std::map<int, Storage::Encodings::MFM::Sector> sectors_by_id; std::map<int, Storage::Encodings::MFM::Sector> sectors_by_id;
if(density_) { if(density_) {
append(parse_track(*track, *density_), sectors_by_id); append(parse_track(*track, *density_), sectors_by_id);
return;
} else { } else {
// Just try all three in succession. // Just try all three in succession.
append(parse_track(*track, Density::Single), sectors_by_id); append(parse_track(*track, Density::Single), sectors_by_id);