mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
If pregap read returned error skip forward.
This commit is contained in:
@@ -126,7 +126,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
Track[] tracks, bool supportsPqSubchannel, bool supportsRwSubchannel,
|
Track[] tracks, bool supportsPqSubchannel, bool supportsRwSubchannel,
|
||||||
Database.Models.Device dbDev, out bool inexactPositioning)
|
Database.Models.Device dbDev, out bool inexactPositioning)
|
||||||
{
|
{
|
||||||
bool sense; // Sense indicator
|
bool sense = true; // Sense indicator
|
||||||
byte[] subBuf = null;
|
byte[] subBuf = null;
|
||||||
int posQ;
|
int posQ;
|
||||||
uint retries;
|
uint retries;
|
||||||
@@ -286,6 +286,14 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
{
|
{
|
||||||
dumpLog?.WriteLine($"Could not get correct subchannel for sector {lba}");
|
dumpLog?.WriteLine($"Could not get correct subchannel for sector {lba}");
|
||||||
updateStatus?.Invoke($"Could not get correct subchannel for sector {lba}");
|
updateStatus?.Invoke($"Could not get correct subchannel for sector {lba}");
|
||||||
|
|
||||||
|
if(sense)
|
||||||
|
{
|
||||||
|
lba++;
|
||||||
|
forward = true;
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(subBuf.All(b => b == 0))
|
if(subBuf.All(b => b == 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user