[Refactor] Call AddRange instead of Add.

This commit is contained in:
2025-11-24 19:00:58 +00:00
parent ebce649b61
commit c4af5bf241
3 changed files with 7 additions and 8 deletions

View File

@@ -439,7 +439,7 @@ partial class Dump
{
outputOptical.SetTracks(tracks.ToList());
foreach(ulong newPregapSector in newPregapSectors) _resume.BadBlocks.Add(newPregapSector);
_resume.BadBlocks.AddRange(newPregapSectors);
if(i >= blocksToRead)
i -= blocksToRead;