Convert fields to properties to make the GUI happy.

This commit is contained in:
2025-10-25 18:40:44 +01:00
parent e09ff0350b
commit ca17de372f
2 changed files with 49 additions and 46 deletions

View File

@@ -126,10 +126,13 @@ public sealed partial class Cdrdao
BytesPerSector = CdrdaoTrackTypeToCookedBytesPerSector(cdrTrack.Tracktype)
};
aaruTrack.EndSector = aaruTrack.StartSector + cdrTrack.Sectors - 1;
ulong aaruTrackStartSector = aaruTrack.StartSector;
aaruTrack.EndSector = aaruTrackStartSector + cdrTrack.Sectors - 1;
if(!cdrTrack.Indexes.TryGetValue(0, out aaruTrack.StartSector))
cdrTrack.Indexes.TryGetValue(1, out aaruTrack.StartSector);
if(!cdrTrack.Indexes.TryGetValue(0, out aaruTrackStartSector))
cdrTrack.Indexes.TryGetValue(1, out aaruTrackStartSector);
aaruTrack.StartSector = aaruTrackStartSector;
if(cdrTrack.Subchannel)
{