Add error message when trying to convert vanilla multi-session redump dumps

This commit is contained in:
Rebecca Wallander
2021-06-08 22:40:44 +02:00
parent 47853f0cb5
commit 92073d949e

View File

@@ -838,6 +838,12 @@ namespace Aaru.DiscImages
}
}
if(currentSession > 1 &&
leadouts.Count == 0 &&
!_discImage.IsRedumpGigadisc)
throw new
FeatureUnsupportedImageException($"This image is missing vital multi-session data and cannot be read correctly.");
if(currentTrack.Sequence != 0)
{
currentFile.Sequence = currentTrack.Sequence;