mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Try to solve pregaps when drive+disc combination returns wrong Q positioning and report this has been the case.
This commit is contained in:
@@ -344,7 +344,16 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
if(tracks is null)
|
||||
return;
|
||||
|
||||
SolveTrackPregaps(_dev, _dumpLog, UpdateStatus, tracks, supportsPqSubchannel, supportsRwSubchannel, _dbDev);
|
||||
SolveTrackPregaps(_dev, _dumpLog, UpdateStatus, tracks, supportsPqSubchannel, supportsRwSubchannel, _dbDev,
|
||||
out bool inexactPositioning);
|
||||
|
||||
if(inexactPositioning)
|
||||
{
|
||||
_dumpLog.WriteLine("WARNING: The drive has returned incorrect Q positioning when calculating pregaps. A best effort has been tried but they may be incorrect.");
|
||||
|
||||
UpdateStatus?.
|
||||
Invoke("WARNING: The drive has returned incorrect Q positioning when calculating pregaps. A best effort has been tried but they may be incorrect.");
|
||||
}
|
||||
|
||||
for(int t = 1; t < tracks.Length; t++)
|
||||
tracks[t - 1].TrackEndSector = tracks[t].TrackStartSector - 1;
|
||||
|
||||
Reference in New Issue
Block a user