mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[AaruFormat] Change how partitions are created.
Possibly not the best way for discs with pregaps, will need more testing.
This commit is contained in:
@@ -83,9 +83,9 @@ public sealed partial class AaruFormat
|
||||
Type = track.Type.Humanize(),
|
||||
Name = string.Format(Localization.Track_0, track.Sequence),
|
||||
Offset = currentTrackOffset,
|
||||
Start = (ulong)track.Indexes[1],
|
||||
Size = (track.EndSector - (ulong)track.Indexes[1] + 1) * (ulong)track.BytesPerSector,
|
||||
Length = track.EndSector - (ulong)track.Indexes[1] + 1,
|
||||
Start = track.StartSector,
|
||||
Size = (track.EndSector - track.StartSector + 1) * (ulong)track.BytesPerSector,
|
||||
Length = track.EndSector - track.StartSector + 1,
|
||||
Scheme = Localization.Optical_disc_track
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user