1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-09 13:41:45 +00:00

F to Dump Firmware

This commit is contained in:
suchmememanyskill 2021-07-23 16:09:53 +02:00
parent 60eac955f6
commit f5623a4fdc

View file

@ -38,7 +38,6 @@ enum {
MainBrowseEmummc, MainBrowseEmummc,
MainTools, MainTools,
MainPartitionSd, MainPartitionSd,
MainDumpFw,
MainViewKeys, MainViewKeys,
MainViewCredits, MainViewCredits,
MainExit, MainExit,
@ -58,7 +57,6 @@ MenuEntry_t mainMenuEntries[] = {
[MainBrowseEmummc] = {.optionUnion = COLORTORGB(COLOR_BLUE), .name = "Browse EMUMMC"}, [MainBrowseEmummc] = {.optionUnion = COLORTORGB(COLOR_BLUE), .name = "Browse EMUMMC"},
[MainTools] = {.optionUnion = COLORTORGB(COLOR_WHITE) | SKIPBIT, .name = "\n-- Tools --"}, [MainTools] = {.optionUnion = COLORTORGB(COLOR_WHITE) | SKIPBIT, .name = "\n-- Tools --"},
[MainPartitionSd] = {.optionUnion = COLORTORGB(COLOR_ORANGE), .name = "Partition the sd"}, [MainPartitionSd] = {.optionUnion = COLORTORGB(COLOR_ORANGE), .name = "Partition the sd"},
[MainDumpFw] = {.optionUnion = COLORTORGB(COLOR_BLUE), .name = "Dump Firmware"},
[MainViewKeys] = {.optionUnion = COLORTORGB(COLOR_YELLOW), .name = "View dumped keys"}, [MainViewKeys] = {.optionUnion = COLORTORGB(COLOR_YELLOW), .name = "View dumped keys"},
[MainViewCredits] = {.optionUnion = COLORTORGB(COLOR_YELLOW), .name = "Credits"}, [MainViewCredits] = {.optionUnion = COLORTORGB(COLOR_YELLOW), .name = "Credits"},
[MainExit] = {.optionUnion = COLORTORGB(COLOR_WHITE) | SKIPBIT, .name = "\n-- Exit --"}, [MainExit] = {.optionUnion = COLORTORGB(COLOR_WHITE) | SKIPBIT, .name = "\n-- Exit --"},
@ -155,7 +153,6 @@ menuPaths mainMenuPaths[] = {
[MainBrowseEmmc] = HandleEMMC, [MainBrowseEmmc] = HandleEMMC,
[MainBrowseEmummc] = HandleEMUMMC, [MainBrowseEmummc] = HandleEMUMMC,
[MainPartitionSd] = FormatSD, [MainPartitionSd] = FormatSD,
[MainDumpFw] = DumpSysFw,
[MainViewKeys] = ViewKeys, [MainViewKeys] = ViewKeys,
[MainRebootAMS] = RebootToAMS, [MainRebootAMS] = RebootToAMS,
[MainRebootHekate] = RebootToHekate, [MainRebootHekate] = RebootToHekate,
@ -178,7 +175,6 @@ void EnterMainMenu(){
// -- Tools -- // -- Tools --
mainMenuEntries[MainPartitionSd].hide = (!is_sd_inited || sd_get_card_removed()); mainMenuEntries[MainPartitionSd].hide = (!is_sd_inited || sd_get_card_removed());
mainMenuEntries[MainDumpFw].hide = (!TConf.keysDumped || !sd_mounted);
mainMenuEntries[MainViewKeys].hide = !TConf.keysDumped; mainMenuEntries[MainViewKeys].hide = !TConf.keysDumped;
// -- Exit -- // -- Exit --