mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not try to read into intersessions pregaps.
This commit is contained in:
@@ -175,9 +175,14 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
|
|
||||||
foreach(Track track in tracks)
|
foreach(Track track in tracks)
|
||||||
{
|
{
|
||||||
if(track.TrackSequence <= 1)
|
// First track of each session has at least 150 sectors of pregap and is not readable always
|
||||||
|
if(tracks.Where(t => t.TrackSession == track.TrackSession).OrderBy(t => t.TrackSequence).
|
||||||
|
FirstOrDefault().TrackSequence == track.TrackSequence)
|
||||||
{
|
{
|
||||||
DicConsole.DebugWriteLine("Pregap calculator", "Skipping track 1");
|
DicConsole.DebugWriteLine("Pregap calculator", "Skipping track {0}", track.TrackSequence);
|
||||||
|
|
||||||
|
if(track.TrackSequence > 1)
|
||||||
|
pregaps[track.TrackSequence] = 150;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user