Bit shifts from hex to decimal
This commit is contained in:
@@ -130,7 +130,7 @@ void MoveSaveBlocks_ResetHeap(void)
|
||||
gMain.vblankCallback = vblankCB;
|
||||
|
||||
// create a new encryption key
|
||||
encryptionKey = (Random() << 0x10) + (Random());
|
||||
encryptionKey = (Random() << 16) + (Random());
|
||||
ApplyNewEncryptionKeyToAllEncryptedData(encryptionKey);
|
||||
gSaveBlock2Ptr->encryptionKey = encryptionKey;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user