mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Calculate and use track pregaps.
This commit is contained in:
@@ -57,7 +57,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
{
|
||||
/// <summary>Implement dumping Compact Discs</summary>
|
||||
|
||||
// TODO: Barcode and pregaps
|
||||
// TODO: Barcode
|
||||
partial class Dump
|
||||
{
|
||||
/// <summary>Dumps a compact disc</summary>
|
||||
@@ -345,6 +345,8 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
if(tracks is null)
|
||||
return;
|
||||
|
||||
SolveTrackPregaps(tracks, supportsPqSubchannel, supportsRwSubchannel);
|
||||
|
||||
for(int t = 1; t < tracks.Length; t++)
|
||||
tracks[t - 1].TrackEndSector = tracks[t].TrackStartSector - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user