diff --git a/Makefile b/Makefile index dbd9364..fd733c9 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ include $(DEVKITARM)/base_rules IPL_LOAD_ADDR := 0x40003000 LPVERSION_MAJOR := 3 LPVERSION_MINOR := 0 -LPVERSION_BUGFX := 3 +LPVERSION_BUGFX := 4 ################################################################################ diff --git a/source/hos/pkg1.c b/source/hos/pkg1.c index 23b25bd..56be761 100644 --- a/source/hos/pkg1.c +++ b/source/hos/pkg1.c @@ -39,6 +39,7 @@ static const pkg1_id_t _pkg1_ids[] = { { "20191021113848", 10}, //9.1.0 { "20200303104606", 10}, //10.0.0 - 10.2.0 { "20201030110855", 10}, //11.0.0 + { "20210129111626", 10}, //12.0.0 { NULL } //End. }; diff --git a/source/keys/keys.c b/source/keys/keys.c index 0380c86..6000266 100644 --- a/source/keys/keys.c +++ b/source/keys/keys.c @@ -240,7 +240,10 @@ static ALWAYS_INLINE u8 *_read_pkg1(const pkg1_id_t **pkg1_id) { *pkg1_id = pkg1_identify(pkg1 + pk1_offset); if (!*pkg1_id) { DPRINTF("Unknown pkg1 version.\n Make sure you have the latest Lockpick_RCM.\n If a new firmware version just came out,\n Lockpick_RCM must be updated.\n Check Github for new release."); - gfx_hexdump(0, pkg1, 0x20); + //gfx_hexdump(0, pkg1, 0x20); + char pkg1txt[16] = {0}; + memcpy(pkg1txt, pkg1 + pk1_offset + 0x10, 15); + gfx_printf("Unknown pkg1 version\nMake sure you have the latest version of TegraExplorer\n\nPKG1: '%s'\n", pkg1txt); return NULL; }