🐛Fix sidecar creation for CD Lead-in, TOC, and XGD tags.

This commit is contained in:
2018-02-01 23:06:51 +00:00
parent 7cedf4b6c4
commit bd64abfbb1
2 changed files with 85 additions and 9 deletions

View File

@@ -793,6 +793,17 @@ namespace DiscImageChef.Core.Devices.Dumping
Checksums = Checksum.GetChecksums(tag.Value).ToArray()
};
break;
case MediaTagType.CD_LeadIn:
sidecar.OpticalDisc[0].LeadIn = new[]
{
new BorderType
{
Image = outputPath,
Size = tag.Value.Length,
Checksums = Checksum.GetChecksums(tag.Value).ToArray()
}
};
break;
}
}
}