minor fix

This commit is contained in:
Arisotura
2020-05-17 13:04:02 +02:00
parent c5c9434ac9
commit 0566c9e34c
3 changed files with 7 additions and 68 deletions

View File

@ -867,6 +867,11 @@ bool ReadROMParams(u32 gamecode, u32* params)
void DecryptSecureArea(u8* out)
{
// TODO: source decryption data from different possible sources
// * original DS-mode ARM7 BIOS has the key data at 0x30
// * .srl ROMs (VC dumps) have encrypted secure areas but have precomputed
// decryption data at 0x1000 (and at the beginning of the DSi region if any)
u32 gamecode = *(u32*)&CartROM[0x0C];
u32 arm9base = *(u32*)&CartROM[0x20];