From 6d07f674d921749e69886113ea3f13197c0bb996 Mon Sep 17 00:00:00 2001 From: Dan Ware Date: Sat, 30 May 2020 17:43:06 +0100 Subject: [PATCH] Added fix due to a change of the returned value from emummc_storage_init_mmc --- source/incognito/incognito.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/incognito/incognito.c b/source/incognito/incognito.c index 0a2b1da..320706a 100644 --- a/source/incognito/incognito.c +++ b/source/incognito/incognito.c @@ -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; }