mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
Fix dumping NTR AGING cart
This commit is contained in:
parent
3da6cf5c0e
commit
d6490453ba
@ -322,7 +322,10 @@ bool NTR_Secure_Init (u8* header, u32 CartID, int iCardDevice)
|
|||||||
|
|
||||||
if(!iCardDevice) //CycloDS doesn't like the dsi secure area being decrypted
|
if(!iCardDevice) //CycloDS doesn't like the dsi secure area being decrypted
|
||||||
{
|
{
|
||||||
NTR_DecryptSecureArea (iGameCode, iCardHash, nCardHash, iKeyCode, secureArea, iCardDevice);
|
if(secureArea[0] != 0x72636e65/*'encr'*/ || secureArea[1] != 0x6a624f79/*'yObj'*/) // already decrypted?
|
||||||
|
{
|
||||||
|
NTR_DecryptSecureArea (iGameCode, iCardHash, nCardHash, iKeyCode, secureArea, iCardDevice);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Debug("secure area %08X %08X", secureArea[0], secureArea[1]);
|
//Debug("secure area %08X %08X", secureArea[0], secureArea[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user