mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix BlindWrite 5 images that contain a non existent data file.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// /***************************************************************************
|
||||
// /***************************************************************************
|
||||
// Aaru Data Preservation Suite
|
||||
// ----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -582,7 +582,7 @@ namespace Aaru.DiscImages
|
||||
{
|
||||
AaruConsole.ErrorWriteLine("Cannot find data file {0}", dataFile.Filename);
|
||||
|
||||
return false;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -799,6 +799,13 @@ namespace Aaru.DiscImages
|
||||
break;
|
||||
}
|
||||
|
||||
if(track.TrackFilter is null)
|
||||
{
|
||||
AaruConsole.ErrorWriteLine("Could not find image for track {0}", trk.point);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
track.TrackPregap = trk.pregap;
|
||||
track.TrackSequence = trk.point;
|
||||
track.TrackType = BlindWriteTrackTypeToTrackType(trk.type);
|
||||
|
||||
Reference in New Issue
Block a user