mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef.Core/Devices/Scanning/ATA.cs:
Correctly use LBA mode. Call FindReadCommand(). * DiscImageChef.Core/Devices/Dumping/ATA.cs: Call FindReadCommand().
This commit is contained in:
@@ -178,6 +178,11 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
}
|
||||
uint blockSize = ataReader.LogicalBlockSize;
|
||||
uint physicalsectorsize = ataReader.PhysicalBlockSize;
|
||||
if(ataReader.FindReadCommand())
|
||||
{
|
||||
DicConsole.ErrorWriteLine(ataReader.ErrorMessage);
|
||||
return;
|
||||
}
|
||||
// Check how many blocks to read, if error show and return
|
||||
if(ataReader.GetBlocksToRead())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user