Annotate or remove unused elements.

This commit is contained in:
2023-10-05 01:05:23 +01:00
parent 7c9405492c
commit 9618e2c549
168 changed files with 397 additions and 216 deletions

View File

@@ -66,6 +66,7 @@ public sealed partial class SuperCardPro
/// <param name="track">The track number</param>
/// <param name="subTrack">The sub-track number</param>
/// <returns>SCP format track number</returns>
// ReSharper disable once UnusedParameter.Local
static long HeadTrackSubToScpTrack(uint head, ushort track, byte subTrack) =>
// TODO: Support single-sided disks
@@ -76,10 +77,12 @@ public sealed partial class SuperCardPro
uint over = ticks / 255;
if(over == 0)
{
return new[]
{
(byte)ticks
};
}
var expanded = new byte[over + 1];