Fix N3DSHasher with seed crypto

This commit is contained in:
CasualPokePlayer 2024-11-17 16:27:13 -08:00
parent 02094fe780
commit 89d76ef6cb
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ namespace BizHawk.Emulation.Common
Array.Reverse(secondaryKeyYBytes); // convert big endian to little endian
var secondaryKeyY = new BigInteger(secondaryKeyYBytes);
Derive3DSNormalKey(secondaryKeyX, secondaryKeyY).AsSpan().CopyTo(secondaryKey);
return;
}
throw new Exception("Could not find seed in seeddb");