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

Merge pull request #1291 from TomHarte/LoneDensityParser

Avoid erroneous early Parser exit.
This commit is contained in:
Thomas Harte 2023-12-28 10:27:43 -05:00 committed by GitHub
commit 96bcbc741f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
if(density_) {
append(parse_track(*track, *density_), sectors_by_id);
return;
} else {
// Just try all three in succession.
append(parse_track(*track, Density::Single), sectors_by_id);