mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix infinite loop in pregap calculation when subchannel comes empty.
This commit is contained in:
@@ -250,6 +250,13 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
updateStatus?.Invoke($"Could not get correct subchannel for sector {lba}");
|
||||
}
|
||||
|
||||
if(subBuf.All(b => b == 0))
|
||||
{
|
||||
inexactPositioning = true;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
BcdToBinaryQ(subBuf);
|
||||
|
||||
// If it's not Q position
|
||||
|
||||
Reference in New Issue
Block a user