File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -190,11 +190,10 @@ class D88ImageReader : public ImageReader
190190 }
191191 Bytes data (sectorSize);
192192 inputFile.read ((char *)data.begin (), data.size ());
193+ physical->add_sector (sectorId);
193194 const auto & sector = image->put (track, head, sectorId);
194195 sector->status = Sector::OK;
195196 sector->data = data;
196-
197- physical->add_sector (sectorId);
198197 }
199198
200199 if (mediaFlag != 0x20 )
Original file line number Diff line number Diff line change @@ -144,11 +144,10 @@ class NFDImageReader : public ImageReader
144144 }
145145 Bytes data (sectorSize);
146146 inputFile.read ((char *)data.begin (), data.size ());
147+ physical->add_sector (sectorId);
147148 const auto & sector = image->put (track, head, sectorId);
148149 sector->status = Sector::OK;
149150 sector->data = data;
150-
151- physical->add_sector (sectorId);
152151 }
153152 }
154153
You can’t perform that action at this time.
0 commit comments