On optical disks consider each track a separate partition for

sidecar creation.
This commit is contained in:
2017-07-15 01:36:40 +01:00
parent 9f051e117c
commit 8b8ba56322

View File

@@ -547,6 +547,10 @@ namespace DiscImageChef.Core
xmlTrk.FileSystemInformation = new PartitionType[1];
if(partitions.Count > 0)
{
partitions.Add(new Partition {
PartitionStartSector = (ulong)xmlTrk.StartSector,
PartitionSectors = (ulong)((xmlTrk.EndSector - xmlTrk.StartSector) + 1)
});
xmlTrk.FileSystemInformation = new PartitionType[partitions.Count];
for(int i = 0; i < partitions.Count; i++)
{