Update crypto.c

This commit is contained in:
TuxSH 2017-02-09 22:48:11 +01:00 committed by GitHub
parent 7960c87579
commit 92ec2af587

View File

@ -322,7 +322,7 @@ static void sha(void *res, const void *src, u32 size, u32 mode)
void twlConsoleInfoInit(void)
{
if(CFG_SYSPROT9 & 0x10) return; //sorry, the lennies are currently missing
if(CFG_SYSPROT9 & 2) return; //sorry, the lennies are currently missing
u64 twlConsoleId = CFG_UNITINFO != 0 ? OTP_DEVCONSOLEID : (0x80000000ULL | (*(vu64 *)0x01FFB808 ^ 0x8C267B7B358A6AFULL));
CFG_TWLUNITINFO = CFG_UNITINFO;