Skip to content

Commit 5feb88a

Browse files
committed
Uint
1 parent 19f25d9 commit 5feb88a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FF1Lib/FF1Rom.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ public void WriteSeedAndFlags(string version, string seed, string flags)
548548
var hasher = SHA256.Create();
549549
hash = hasher.ComputeHash(Encoding.ASCII.GetBytes($"{seed}_{flags}_{sha}"));
550550

551-
var hashpart = BitConverter.ToInt64(hash, 0);
551+
var hashpart = BitConverter.ToUInt64(hash, 0);
552552
hash = Blob.FromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
553553
for (int i = 13; i < 19; i++)
554554
{

0 commit comments

Comments
 (0)