mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not set INDEX 1 to a value higher than what the TOC already said.
This commit is contained in:
@@ -301,7 +301,7 @@ namespace Aaru.Tests.Issues
|
||||
bool indexesChanged = CompactDisc.WriteSubchannelToImage(MmcSubchannel.Raw,
|
||||
MmcSubchannel.Raw, sector, doneSectors + track.TrackStartSector, 1, null,
|
||||
isrcs, (byte)track.TrackSequence, ref mcn, tracks, subchannelExtents, true,
|
||||
outputOptical, true, true, null, null, smallestPregapLbaPerTrack, false);
|
||||
outputOptical, true, true, null, null, smallestPregapLbaPerTrack, false, out _);
|
||||
|
||||
if(indexesChanged)
|
||||
outputOptical.SetTracks(tracks.ToList());
|
||||
@@ -321,7 +321,7 @@ namespace Aaru.Tests.Issues
|
||||
bool indexesChanged = CompactDisc.WriteSubchannelToImage(MmcSubchannel.Raw,
|
||||
MmcSubchannel.Raw, sector, doneSectors + track.TrackStartSector, sectorsToDo,
|
||||
null, isrcs, (byte)track.TrackSequence, ref mcn, tracks, subchannelExtents,
|
||||
true, outputOptical, true, true, null, null, smallestPregapLbaPerTrack, false);
|
||||
true, outputOptical, true, true, null, null, smallestPregapLbaPerTrack, false, out _);
|
||||
|
||||
if(indexesChanged)
|
||||
outputOptical.SetTracks(tracks.ToList());
|
||||
|
||||
Reference in New Issue
Block a user