mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Try to dump CD up to 360000 sectors if the Lead-Out has not been found.
This commit is contained in:
@@ -429,6 +429,13 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
lastSector = trk.TrackStartAddress - 1;
|
||||
}
|
||||
|
||||
if(lastSector == 0)
|
||||
{
|
||||
DicConsole.WriteLine("WARNING: Could not find Lead-Out start, will try to read up to 360000 sectors, probably will fail before...");
|
||||
dumpLog.WriteLine("WARNING: Could not find Lead-Out start, will try to read up to 360000 sectors, probably will fail before...");
|
||||
lastSector = 360000;
|
||||
}
|
||||
|
||||
Track[] tracks = trackList.ToArray();
|
||||
for(int t = 1; t < tracks.Length; t++) tracks[t - 1].TrackEndSector = tracks[t].TrackStartSector - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user