Final fix

This commit is contained in:
Deterous
2025-08-19 23:09:11 +09:00
committed by GitHub
parent b1cb4bccd4
commit 4492862051
5 changed files with 4 additions and 41 deletions
+2
View File
@@ -1159,7 +1159,9 @@ namespace LibIRD
// If making redump-style IRD, save CRC32 hash to UID field
if (redump)
{
isoHasher.Terminate();
crc32 = isoHasher.CurrentHashBytes;
isoHasher.Dispose();
Array.Reverse(crc32);
UID = BitConverter.ToUInt32(crc32, 0);
}
+1 -1
View File
@@ -7,7 +7,7 @@
<LangVersion>latest</LangVersion>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Version>0.9.5</Version>
<Version>1.0.0</Version>
<PackageOutputPath>../nupkg</PackageOutputPath>
<!-- Avoid inexact read with 'System.IO.Stream.Read' -->