Revert "Fix dumping NTR AGING cart"

This reverts commit d6490453ba9bebbc82b97c5ac9e20bf21eab01e3.
This commit is contained in:
d0k3 2017-08-08 11:53:47 +02:00
parent df5e80bb98
commit cf84ce4fa4

View File

@ -321,12 +321,9 @@ bool NTR_Secure_Init (u8* header, u32 CartID, int iCardDevice)
NTR_CmdSecure (flagsKey1, NULL, 0, cmdData);
if(!iCardDevice) //CycloDS doesn't like the dsi secure area being decrypted
{
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]);
if(secureArea[0] == 0x72636e65/*'encr'*/ && secureArea[1] == 0x6a624f79/*'yObj'*/)