mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix lead-in sector painting by removing negative block conversion
This commit is contained in:
@@ -138,7 +138,7 @@ partial class Dump
|
|||||||
gotFirstTrackPregap = true;
|
gotFirstTrackPregap = true;
|
||||||
firstTrackPregapSectorsGood++;
|
firstTrackPregapSectorsGood++;
|
||||||
totalDuration += cmdDuration;
|
totalDuration += cmdDuration;
|
||||||
(_mediaGraph as Spiral)?.PaintCdLeadInSector((ulong)(firstTrackPregapBlock * -1), SKColors.Green);
|
(_mediaGraph as Spiral)?.PaintCdLeadInSector(firstTrackPregapBlock, SKColors.Green);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -160,7 +160,7 @@ partial class Dump
|
|||||||
}
|
}
|
||||||
else if(gotFirstTrackPregap) firstTrackPregapMs.Write(new byte[blockSize], 0, (int)blockSize);
|
else if(gotFirstTrackPregap) firstTrackPregapMs.Write(new byte[blockSize], 0, (int)blockSize);
|
||||||
|
|
||||||
(_mediaGraph as Spiral)?.PaintCdLeadInSector((ulong)(firstTrackPregapBlock * -1), SKColors.Red);
|
(_mediaGraph as Spiral)?.PaintCdLeadInSector(firstTrackPregapBlock, SKColors.Red);
|
||||||
}
|
}
|
||||||
|
|
||||||
sectorSpeedStart++;
|
sectorSpeedStart++;
|
||||||
|
|||||||
Reference in New Issue
Block a user