Skip to content

Commit e81e418

Browse files
add 12.0.0 support, bump version
1 parent adc54c9 commit e81e418

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include $(DEVKITARM)/base_rules
1111
IPL_LOAD_ADDR := 0x40003000
1212
LPVERSION_MAJOR := 3
1313
LPVERSION_MINOR := 0
14-
LPVERSION_BUGFX := 3
14+
LPVERSION_BUGFX := 4
1515

1616
################################################################################
1717

source/hos/pkg1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ static const pkg1_id_t _pkg1_ids[] = {
3939
{ "20191021113848", 10}, //9.1.0
4040
{ "20200303104606", 10}, //10.0.0 - 10.2.0
4141
{ "20201030110855", 10}, //11.0.0
42+
{ "20210129111626", 10}, //12.0.0
4243
{ NULL } //End.
4344
};
4445

source/keys/keys.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,10 @@ static ALWAYS_INLINE u8 *_read_pkg1(const pkg1_id_t **pkg1_id) {
240240
*pkg1_id = pkg1_identify(pkg1 + pk1_offset);
241241
if (!*pkg1_id) {
242242
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.");
243-
gfx_hexdump(0, pkg1, 0x20);
243+
//gfx_hexdump(0, pkg1, 0x20);
244+
char pkg1txt[16] = {0};
245+
memcpy(pkg1txt, pkg1 + pk1_offset + 0x10, 15);
246+
gfx_printf("Unknown pkg1 version\nMake sure you have the latest version of TegraExplorer\n\nPKG1: '%s'\n", pkg1txt);
244247
return NULL;
245248
}
246249

0 commit comments

Comments
 (0)