General refactor and cleanup.

This commit is contained in:
2024-05-01 04:05:22 +01:00
parent 185a8c3fd5
commit e46d21bde6
922 changed files with 36437 additions and 29485 deletions

View File

@@ -188,8 +188,7 @@ public sealed partial class Apridisk
{
for(byte s = 0; s < _imageInfo.SectorsPerTrack; s++)
{
if(_sectorsData[c][h][s] == null || _sectorsData[c][h][s].Length == 0)
continue;
if(_sectorsData[c][h][s] == null || _sectorsData[c][h][s].Length == 0) continue;
var record = new Record
{
@@ -302,8 +301,7 @@ public sealed partial class Apridisk
{
_sectorsData[c] = new byte[heads][][];
for(byte h = 0; h < heads; h++)
_sectorsData[c][h] = new byte[sectorsPerTrack][];
for(byte h = 0; h < heads; h++) _sectorsData[c][h] = new byte[sectorsPerTrack][];
}
_imageInfo.Cylinders = cylinders;