mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix partitions on multi-session CloneCD images.
This commit is contained in:
@@ -752,12 +752,12 @@ namespace Aaru.DiscImages
|
|||||||
var partition = new Partition
|
var partition = new Partition
|
||||||
{
|
{
|
||||||
Description = track.TrackDescription,
|
Description = track.TrackDescription,
|
||||||
Size = (track.TrackEndSector - track.TrackStartSector + 1) *
|
Size = (track.TrackEndSector - (ulong)track.Indexes[1] + 1) *
|
||||||
(ulong)track.TrackRawBytesPerSector,
|
(ulong)track.TrackRawBytesPerSector,
|
||||||
Length = track.TrackEndSector - track.TrackStartSector + 1,
|
Length = track.TrackEndSector - (ulong)track.Indexes[1] + 1,
|
||||||
Sequence = track.TrackSequence,
|
Sequence = track.TrackSequence,
|
||||||
Offset = track.TrackFileOffset,
|
Offset = track.TrackFileOffset,
|
||||||
Start = track.TrackStartSector,
|
Start = (ulong)track.Indexes[1],
|
||||||
Type = track.TrackType.ToString()
|
Type = track.TrackType.ToString()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user