1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows Rescue Disk: when decryption paused/finished, display message to indicate that header is being updated

This commit is contained in:
Mounir IDRASSI
2015-12-05 18:12:07 +01:00
parent 1cf826dbad
commit 8e56e138cc

View File

@@ -890,6 +890,8 @@ askBadSectorSkip:
if (headerUpdateRequired)
{
Print ("\rUpdating header...");
AcquireSectorBuffer();
uint64 headerSector;
headerSector.HighPart = 0;
@@ -927,6 +929,8 @@ askBadSectorSkip:
while (WriteSectors (SectorBuffer, drive, headerSector, 1) != BiosResultSuccess);
ReleaseSectorBuffer();
Print ("Done!\r\n");
}
if (sectorsRemaining.HighPart == 0 && sectorsRemaining.LowPart == 0)