mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Show more specific error message in pregap calculation.
This commit is contained in:
@@ -371,16 +371,19 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
|
|
||||||
if(retries == 10)
|
if(retries == 10)
|
||||||
{
|
{
|
||||||
dumpLog?.WriteLine($"Could not get correct subchannel for sector {lba}");
|
|
||||||
updateStatus?.Invoke($"Could not get correct subchannel for sector {lba}");
|
|
||||||
|
|
||||||
if(sense)
|
if(sense)
|
||||||
{
|
{
|
||||||
|
dumpLog?.WriteLine($"Could not read subchannel for sector {lba}");
|
||||||
|
updateStatus?.Invoke($"Could not read subchannel for sector {lba}");
|
||||||
|
|
||||||
lba++;
|
lba++;
|
||||||
forward = true;
|
forward = true;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dumpLog?.WriteLine($"Could not get correct subchannel for sector {lba}");
|
||||||
|
updateStatus?.Invoke($"Could not get correct subchannel for sector {lba}");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(subBuf.All(b => b == 0))
|
if(subBuf.All(b => b == 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user