From 8a25b7dcd42bd5e7a459ff2a00a337f7cec0c86d Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 1 Nov 2026 12:03:52 +0000 Subject: [PATCH] [CompactDisc] Do not use FUA in the first retry pass with an OmniDrive, only in the following ones. --- Aaru.Core/Devices/Dumping/CompactDisc/Error.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Aaru.Core/Devices/Dumping/CompactDisc/Error.cs b/Aaru.Core/Devices/Dumping/CompactDisc/Error.cs index a5b7fd295..fd596c671 100644 --- a/Aaru.Core/Devices/Dumping/CompactDisc/Error.cs +++ b/Aaru.Core/Devices/Dumping/CompactDisc/Error.cs @@ -319,13 +319,14 @@ partial class Dump if(_omnidrive) { + // The first pass can use the drive's read-ahead, the next ones must really read the disc again bool c2Sense = _dev.OmniDriveReadCdWithC2(out byte[] c2Buf, out senseBuf, badSectorToReRead, sectorsToReRead, _dev.Timeout, out cmdDuration, - true); + pass > 1); if(!c2Sense) { @@ -358,7 +359,7 @@ partial class Dump sectorsToReRead, _dev.Timeout, out double plainDuration, - true); + pass > 1); cmdDuration += plainDuration; }