Rework pregap calculation.

This commit is contained in:
2020-01-05 06:06:50 +00:00
parent c55d6f8ebb
commit aeac5ea0e6
3 changed files with 235 additions and 112 deletions

View File

@@ -344,7 +344,7 @@ namespace DiscImageChef.Core.Devices.Dumping
if(tracks is null)
return;
SolveTrackPregaps(_dev, _dumpLog, UpdateStatus, tracks, supportsPqSubchannel, supportsRwSubchannel);
SolveTrackPregaps(_dev, _dumpLog, UpdateStatus, tracks, supportsPqSubchannel, supportsRwSubchannel, _dbDev);
for(int t = 1; t < tracks.Length; t++)
tracks[t - 1].TrackEndSector = tracks[t].TrackStartSector - 1;