mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use database to check for maximum number of sectors to dump at once.
This commit is contained in:
@@ -108,7 +108,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
}
|
||||
|
||||
// Check how many blocks to read, if error show and return
|
||||
if(scsiReader.GetBlocksToRead())
|
||||
if(scsiReader.GetBlocksToRead(_maximumReadable))
|
||||
{
|
||||
_dumpLog.WriteLine("ERROR: Cannot get blocks to read: {0}.", scsiReader.ErrorMessage);
|
||||
StoppingErrorMessage?.Invoke(scsiReader.ErrorMessage);
|
||||
|
||||
Reference in New Issue
Block a user