Fix file hash for split files with irregular filesize
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<RuntimeIdentifiers>win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<Version>0.4.0</Version>
|
||||
<Version>0.4.1</Version>
|
||||
|
||||
<!-- Package Properties -->
|
||||
<Authors>Deterous</Authors>
|
||||
|
||||
+3
-1
@@ -610,7 +610,9 @@ namespace IRDKit
|
||||
missingOffsets1.Add(IRD2.FileKeys[i]);
|
||||
}
|
||||
// Print the file offsets that differ
|
||||
printText.AppendLine($"File Offsets not Present in {irdPath1}: {string.Join(", ", missingOffsets1)}");
|
||||
if (missingOffsets1.Count > 0)
|
||||
printText.AppendLine($"File Offsets not Present in {irdPath1}: {string.Join(", ", missingOffsets1)}");
|
||||
if (missingOffsets2.Count > 0)
|
||||
printText.AppendLine($"File Offsets not Present in {irdPath2}: {string.Join(", ", missingOffsets2)}");
|
||||
|
||||
// Print any extra config data difference
|
||||
|
||||
Reference in New Issue
Block a user