Skip to content

Commit

Permalink
[#64] Internal FDD improvements and bugfixes (Part 13: Fixed ignoranc…
Browse files Browse the repository at this point in the history
…e of verification error)
tomas-nestorovic committed Feb 22, 2022
1 parent 8432b8a commit 13708f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Main/src/FDD.cpp
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@ terminateWithError: fdd->UnformatInternalTrack(cyl,head); // disposing any new
TCHAR buf[80];
::wsprintf( buf, _T("Verification failed for sector with %s on Track %d."), (LPCTSTR)id.ToString(), chs.GetTrackNumber(2) );
const BYTE result=Utils::AbortRetryIgnore( buf, MB_DEFBUTTON2 );
modified=result==IDIGNORE; // saved successfully if commanded to ignore any errors
modified=result!=IDIGNORE; // saved successfully if commanded to ignore any errors, otherwise ("!=") the Sector remains marked Modified
return result;
}else{
modified=false; // saved successfully, so the Sector is no longer Modified

0 comments on commit 13708f1

Please sign in to comment.