Do not set INDEX 1 to a value higher than what the TOC already said.

This commit is contained in:
2022-04-10 14:10:41 +01:00
parent 9fc10e1e57
commit 40ed1b19e2
9 changed files with 49 additions and 20 deletions

View File

@@ -359,7 +359,7 @@ namespace Aaru.Tests.WritableImages
MmcSubchannel.Raw, sector, doneSectors + track.TrackStartSector, 1,
null, isrcs, (byte)track.TrackSequence, ref mcn, tracks,
subchannelExtents, true, outputFormat, true, true, null, null,
smallestPregapLbaPerTrack, false);
smallestPregapLbaPerTrack, false, out _);
if(indexesChanged)
outputFormat.SetTracks(tracks.ToList());
@@ -382,7 +382,7 @@ namespace Aaru.Tests.WritableImages
MmcSubchannel.Raw, sector, doneSectors + track.TrackStartSector,
sectorsToDo, null, isrcs, (byte)track.TrackSequence, ref mcn, tracks,
subchannelExtents, true, outputFormat, true, true, null, null,
smallestPregapLbaPerTrack, false);
smallestPregapLbaPerTrack, false, out _);
if(indexesChanged)
outputFormat.SetTracks(tracks.ToList());