Fix calculation of last block in resume file when tape.

This commit is contained in:
2019-05-01 22:54:55 +01:00
parent 9dd03546a1
commit 8f00b6aff2

View File

@@ -136,7 +136,7 @@ namespace DiscImageChef.Core.Devices.Dumping
Tries = new List<DumpHardwareType>(),
CreationDate = DateTime.UtcNow,
BadBlocks = new List<ulong>(),
LastBlock = blocks - 1,
LastBlock = isTape ? 0 : blocks - 1,
Tape = isTape
};
currentTry = new DumpHardwareType