Fix spacing

This commit is contained in:
Deterous
2024-03-05 12:11:34 +09:00
parent 55cab8202d
commit a93c727ba2
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -732,7 +732,7 @@ namespace IRDKit
if (missingOffsets1.Count > 0) if (missingOffsets1.Count > 0)
printText.AppendLine($"File Offsets not Present in {irdPath1}: {string.Join(", ", missingOffsets1)}"); printText.AppendLine($"File Offsets not Present in {irdPath1}: {string.Join(", ", missingOffsets1)}");
if (missingOffsets2.Count > 0) if (missingOffsets2.Count > 0)
printText.AppendLine($"File Offsets not Present in {irdPath2}: {string.Join(", ", missingOffsets2)}"); printText.AppendLine($"File Offsets not Present in {irdPath2}: {string.Join(", ", missingOffsets2)}");
// Print any extra config data difference // Print any extra config data difference
if (IRD1.ExtraConfig != IRD2.ExtraConfig) if (IRD1.ExtraConfig != IRD2.ExtraConfig)
+2 -2
View File
@@ -1042,7 +1042,7 @@ namespace LibIRD
// Initialise MD5 region hashes // Initialise MD5 region hashes
List<int> regions = []; List<int> regions = [];
MD5[] regionMD5 = new MD5[RegionCount]; MD5[] regionMD5 = new MD5[RegionCount];
for (int i = 0; i < RegionCount; i++) for (int i = 0; i < RegionCount; i++)
{ {
regions.Add(i); regions.Add(i);
regionMD5[i] = MD5.Create(); regionMD5[i] = MD5.Create();
@@ -1191,7 +1191,7 @@ namespace LibIRD
{ {
// Skip hashing file extent if it has not yet started or already ended // Skip hashing file extent if it has not yet started or already ended
if (FileExtents[i][j].Offset > currentSector + bufSectors if (FileExtents[i][j].Offset > currentSector + bufSectors
|| SectorSize* FileExtents[i][j].Offset + FileExtents[i][j].Count < SectorSize * currentSector) || SectorSize * FileExtents[i][j].Offset + FileExtents[i][j].Count < SectorSize * currentSector)
continue; continue;
// Determine first file byte location in buffer // Determine first file byte location in buffer
int startByte = FileExtents[i][j].Offset > currentSector ? (int)(SectorSize * (FileExtents[i][j].Offset - currentSector)) : 0; int startByte = FileExtents[i][j].Offset > currentSector ? (int)(SectorSize * (FileExtents[i][j].Offset - currentSector)) : 0;
+1 -1
View File
@@ -183,7 +183,7 @@ namespace LibIRD
l0es[0], l0es[1], l0es[2], l0es[3], l0es[0], l0es[1], l0es[2], l0es[3],
// 32 bytes of zeros // 32 bytes of zeros
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
// Initial portion of PIC again, for 2nd layer // Initial portion of PIC again, for 2nd layer
// ["DI"] [v1] [11unit][DI num] // ["DI"] [v1] [11unit][DI num]
0x44, 0x49, 0x01, 0x11, 0x00, 0x01, 0x20, 0x00, 0x44, 0x49, 0x01, 0x11, 0x00, 0x01, 0x20, 0x00,