Skip to content

Commit

Permalink
[#57] Support for KryoFlux and associated images (Part 190: Track mod…
Browse files Browse the repository at this point in the history
…ifications mustn't prevent from its unscanning)
  • Loading branch information
tomas-nestorovic committed Feb 5, 2024
1 parent 397d85e commit fbebafc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Main/src/CapsBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,6 @@
if (const TStdWinError err=__super::UnscanTrack(cyl,head)) // base
return err;
PInternalTrack &rit=internalTracks[cyl][head];
if (rit->modified)
return ERROR_REQUEST_REFUSED;
delete rit;
rit=nullptr;
return ERROR_SUCCESS;
Expand Down
3 changes: 0 additions & 3 deletions Main/src/FDD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,6 @@ error: switch (const TStdWinError err=::GetLastError()){
const PInternalTrack pit=__getScannedTrack__(cyl,head);
if (!pit) // Track not yet scanned?
return ERROR_SEEK;
for( TSector i=0; i<pit->nSectors; i++ )
if (pit->sectors[i].IsModified())
return ERROR_REQUEST_REFUSED;
if (const TStdWinError err=__super::UnscanTrack(cyl,head)) // base
return err;
delete pit;
Expand Down

0 comments on commit fbebafc

Please sign in to comment.