Merge pull request #609 from aaru-dps/fakeshemp/bug/redump_multisession

Add error message when trying to convert vanilla multi-session redump…
This commit is contained in:
2021-06-08 22:22:46 +01:00
committed by GitHub

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;