mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Merge pull request #1291 from TomHarte/LoneDensityParser
Avoid erroneous early Parser exit.
This commit is contained in:
commit
96bcbc741f
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user