mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-07 23:08:47 -05:00
Copy identification bytes from the correct offset
directly after the AESMAC not well after ;)
This commit is contained in:
@@ -559,7 +559,7 @@ private void open1MB(byte[] input, string path, string GameType, bool oras)
|
||||
// Detection of stored Decryption XORpads:
|
||||
if (ModifierKeys != Keys.Control) // Allow bypass via control key.
|
||||
{
|
||||
byte[] savID = new byte[0x10]; Array.Copy(input, 0x20, savID, 0, 0x10);
|
||||
byte[] savID = new byte[0x10]; Array.Copy(input, 0x10, savID, 0, 0x10);
|
||||
ulong ident = BitConverter.ToUInt64(savID, 0x0);
|
||||
string exepath = System.Windows.Forms.Application.StartupPath;
|
||||
string checkpath = exepath.Clone().ToString();
|
||||
|
||||
Reference in New Issue
Block a user