mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not retry when pregap is correctly found to be 0.
This commit is contained in:
@@ -199,7 +199,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
bool crcOk = false;
|
||||
|
||||
// Check if pregap is 0
|
||||
for(retries = 0; retries < 10; retries++)
|
||||
for(retries = 0; retries < 10 && !pregapFound; retries++)
|
||||
{
|
||||
sense = supportsRwSubchannel ? GetSectorForPregapRaw(dev, (uint)lba, dbDev, out subBuf)
|
||||
: GetSectorForPregapQ16(dev, (uint)lba, dbDev, out subBuf);
|
||||
|
||||
Reference in New Issue
Block a user