actually make DSi-mode direct boot work to some extent

This commit is contained in:
Arisotura
2021-08-30 20:26:49 +02:00
parent b84155e891
commit 523552a92d
13 changed files with 500 additions and 213 deletions

View File

@ -176,15 +176,6 @@ void Key2_Encrypt(u8* data, u32 len)
}
void ApplyModcrypt(u32 addr, u32 len, u8* iv)
{return;
u8 key[16];
DSi_AES::GetModcryptKey(&CartROM[0], key);
DSi_AES::ApplyModcrypt(&CartROM[addr], len, key, iv);
}
CartCommon::CartCommon(u8* rom, u32 len, u32 chipid)
{
ROM = rom;