Fix calculating track end in Alcohol 120% images, fixes #176.

This commit is contained in:
2018-06-19 19:58:48 +01:00
parent 32ec415eff
commit bdaece414e

View File

@@ -124,7 +124,7 @@ namespace DiscImageChef.DiscImages
{
Indexes = new Dictionary<int, ulong> {{1, alcTrack.startLba}},
TrackStartSector = alcTrack.startLba,
TrackEndSector = alcExtra.sectors - 1,
TrackEndSector = (alcTrack.startLba + alcExtra.sectors) - 1,
TrackPregap = alcExtra.pregap,
TrackSession = sessionNo,
TrackSequence = alcTrack.point,