Bit shifts from hex to decimal

This commit is contained in:
GriffinR
2021-03-30 17:38:09 -04:00
parent d5d1caf965
commit 8c6e89e994
9 changed files with 24 additions and 24 deletions

View File

@@ -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;
}