mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
On optical disks consider each track a separate partition for
sidecar creation.
This commit is contained in:
@@ -547,6 +547,10 @@ namespace DiscImageChef.Core
|
|||||||
xmlTrk.FileSystemInformation = new PartitionType[1];
|
xmlTrk.FileSystemInformation = new PartitionType[1];
|
||||||
if(partitions.Count > 0)
|
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];
|
xmlTrk.FileSystemInformation = new PartitionType[partitions.Count];
|
||||||
for(int i = 0; i < partitions.Count; i++)
|
for(int i = 0; i < partitions.Count; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user