mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix detection of version 3 and upper DVD-RW and DVD-RW DL. Fixes #456
This commit is contained in:
@@ -349,7 +349,7 @@ namespace Aaru.DiscImages
|
||||
session.StartSector = startingTrack.startLba;
|
||||
session.StartTrack = alcSes.firstTrack;
|
||||
session.SessionSequence = alcSes.sessionSequence;
|
||||
session.EndSector = (endingTrack.startLba + endingTrackExtra.sectors) - 1;
|
||||
session.EndSector = endingTrack.startLba + endingTrackExtra.sectors - 1;
|
||||
session.EndTrack = alcSes.lastTrack;
|
||||
|
||||
Sessions.Add(session);
|
||||
@@ -416,7 +416,7 @@ namespace Aaru.DiscImages
|
||||
break;
|
||||
case DiskCategory.DVDRW:
|
||||
_imageInfo.MediaType =
|
||||
pfi0.Value.PartVersion >= 3 ? MediaType.DVDRWDL : MediaType.DVDRW;
|
||||
pfi0.Value.PartVersion >= 15 ? MediaType.DVDRWDL : MediaType.DVDRW;
|
||||
|
||||
break;
|
||||
case DiskCategory.HDDVDR:
|
||||
|
||||
Reference in New Issue
Block a user