Crypto: fix sprx/self check in npDrm and edata fixes

This commit is contained in:
Jake 2017-03-22 06:13:20 -05:00 committed by Ivan
parent 44e62c5c92
commit 65696bf6a3
8 changed files with 109 additions and 58 deletions

View file

@ -912,8 +912,7 @@ bool EDATADecrypter::ReadHeader()
if (dec_key == std::array<u8, 0x10>{0})
{
LOG_ERROR(LOADER, "EDAT: A valid RAP file is needed for this EDAT file!");
return false;
LOG_WARNING(LOADER, "EDAT: Empty Dec key!");
}
}
else if ((npdHeader.license & 0x1) == 0x1) // Type 1: Use network activation.