From 326857a84d1dabababf67fce2456b8095c34aecb Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 29 Sep 2017 22:48:00 -0400 Subject: [PATCH] Corrects FM/MFM selection when looking for sectors. --- Storage/Disk/DiskImage/Formats/Utility/ImplicitSectors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Storage/Disk/DiskImage/Formats/Utility/ImplicitSectors.cpp b/Storage/Disk/DiskImage/Formats/Utility/ImplicitSectors.cpp index 9718124de..a151029af 100644 --- a/Storage/Disk/DiskImage/Formats/Utility/ImplicitSectors.cpp +++ b/Storage/Disk/DiskImage/Formats/Utility/ImplicitSectors.cpp @@ -46,7 +46,7 @@ void Storage::Disk::decode_sectors(Track &track, uint8_t *const destination, uin std::map 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) {