Do not paint in pregap positive sectors that were obtained as needed for offset correction.

This commit is contained in:
2026-07-08 08:51:20 +01:00
parent b3b2280522
commit 3e2d251dbc

View File

@@ -160,7 +160,7 @@ partial class Dump
sectorIsAudio[bufferIndex] = !IsData(sectorData);
readSuccess[bufferIndex] = true;
if(firstTrackPregapBlock >= -150)
if(firstTrackPregapBlock is >= -150 and < 0)
{
firstTrackPregapSectorsGood++;
totalDuration += cmdDuration;
@@ -169,7 +169,7 @@ partial class Dump
}
else
{
if(firstTrackPregapBlock >= -150)
if(firstTrackPregapBlock is >= -150 and < 0)
(_mediaGraph as Spiral)?.PaintCdLeadInSector(firstTrackPregapBlock, SKColors.Red);
}