1
0
Fork 0
mirror of https://github.com/Scandal-UK/Incognito_RCM.git synced 2024-09-18 21:33:25 +01:00

Added fix due to a change of the returned value from emummc_storage_init_mmc

This commit is contained in:
Dan Ware 2020-05-30 17:43:06 +01:00
parent 738258c6c4
commit 6d07f674d9

View file

@ -110,7 +110,7 @@ bool dump_keys()
tsec_ctxt_t tsec_ctxt;
if (!emummc_storage_init_mmc(&storage, &sdmmc))
if (emummc_storage_init_mmc(&storage, &sdmmc) == 2)
{
EPRINTF("Unable to init MMC.");
return false;
@ -123,7 +123,7 @@ bool dump_keys()
const pkg1_id_t *pkg1_id = pkg1_identify(pkg1);
if (!pkg1_id)
{
EPRINTF("Unknown pkg1 version.");
EPRINTF("Unknown pkg1 version.\n Make sure you have the latest Incognito_RCM.\n If a new firmware version just came out,\n Incognito_RCM must be updated.\n Check Github for new release.");
free(pkg1);
return false;
}