Make loader read from CTRNAND just if SD is not mounted

This commit is contained in:
Aurora
2016-10-14 18:03:17 +02:00
parent c5eb2e1070
commit d5e74b91c7
3 changed files with 15 additions and 6 deletions

View File

@@ -272,7 +272,7 @@ u32 implementSvcGetCFWInfo(u8 *pos, u32 *arm11SvcTable, u32 baseK11VA, u8 **free
}
else isRelease = rev[4] == 0;
info->flags = isRelease ? 1 : 0;
if(isRelease) info->flags = 1;
arm11SvcTable[0x2E] = baseK11VA + *freeK11Space - pos; //Stubbed svc
*freeK11Space += svcGetCFWInfo_bin_size;