mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix calculation of last block in resume file when tape.
This commit is contained in:
@@ -136,7 +136,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
Tries = new List<DumpHardwareType>(),
|
Tries = new List<DumpHardwareType>(),
|
||||||
CreationDate = DateTime.UtcNow,
|
CreationDate = DateTime.UtcNow,
|
||||||
BadBlocks = new List<ulong>(),
|
BadBlocks = new List<ulong>(),
|
||||||
LastBlock = blocks - 1,
|
LastBlock = isTape ? 0 : blocks - 1,
|
||||||
Tape = isTape
|
Tape = isTape
|
||||||
};
|
};
|
||||||
currentTry = new DumpHardwareType
|
currentTry = new DumpHardwareType
|
||||||
|
|||||||
Reference in New Issue
Block a user