mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Corrects FM/MFM selection when looking for sectors.
This commit is contained in:
parent
5dd3945695
commit
326857a84d
@ -46,7 +46,7 @@ void Storage::Disk::decode_sectors(Track &track, uint8_t *const destination, uin
|
||||
std::map<size_t, Storage::Encodings::MFM::Sector> sectors =
|
||||
Storage::Encodings::MFM::sectors_from_segment(
|
||||
Storage::Disk::track_serialisation(track, is_double_density ? Storage::Encodings::MFM::MFMBitLength : Storage::Encodings::MFM::FMBitLength),
|
||||
true);
|
||||
is_double_density);
|
||||
|
||||
size_t byte_size = (size_t)(128 << sector_size);
|
||||
for(auto &pair : sectors) {
|
||||
|
Loading…
Reference in New Issue
Block a user