diff --git a/source/tegraexplorer/common/common.h b/source/tegraexplorer/common/common.h index 38b1eb4..73ca10d 100644 --- a/source/tegraexplorer/common/common.h +++ b/source/tegraexplorer/common/common.h @@ -55,8 +55,7 @@ enum mainmenu_tools_return { TOOLS_DISPLAY_GPIO, TOOLS_DUMPFIRMWARE, TOOLS_DUMPUSERSAVE, - TOOLS_DUMP_BOOT, - TOOLS_RESTORE_BOOT + TOOLS_DUMP_BOOT }; extern menu_entry mainmenu_tools[]; diff --git a/source/tegraexplorer/common/structs.c b/source/tegraexplorer/common/structs.c index 05c87dd..7e6f531 100644 --- a/source/tegraexplorer/common/structs.c +++ b/source/tegraexplorer/common/structs.c @@ -31,8 +31,7 @@ menu_entry mainmenu_tools[] = { {"Display GPIO pins", COLOR_VIOLET, ISMENU}, {"Dump Firmware", COLOR_BLUE, ISMENU}, {"Dump User Saves", COLOR_YELLOW, ISMENU}, - {"[DEBUG] Dump bis", COLOR_RED, ISMENU}, - {"[DEBUG] Restore bis", COLOR_RED, ISMENU} + {"Dump bis", COLOR_ORANGE, ISMENU} }; menu_entry mainmenu_format[] = { @@ -58,7 +57,7 @@ menu_entry fs_menu_file[] = { {"Launch Payload", COLOR_ORANGE, ISMENU}, {"Launch Script", COLOR_YELLOW, ISMENU}, {"View Hex", COLOR_GREEN, ISMENU}, - {"Extract BIS", COLOR_RED, ISMENU}, + {"\nExtract BIS", COLOR_YELLOW, ISMENU}, {"Restore BIS", COLOR_RED, ISMENU} }; diff --git a/source/tegraexplorer/mainmenu.c b/source/tegraexplorer/mainmenu.c index 8e45ba1..8791041 100644 --- a/source/tegraexplorer/mainmenu.c +++ b/source/tegraexplorer/mainmenu.c @@ -108,7 +108,7 @@ void MainMenu_MountSD(){ void MainMenu_Tools(){ //res = makemenu(toolsmenu, 8); - res = menu_make(mainmenu_tools, 7, "-- Tools Menu --"); + res = menu_make(mainmenu_tools, 6, "-- Tools Menu --"); switch(res){ case TOOLS_DISPLAY_INFO: @@ -128,19 +128,6 @@ void MainMenu_Tools(){ case TOOLS_DUMP_BOOT: dump_emmc_parts(PART_BOOT | PART_PKG2, SYSMMC); break; - case TOOLS_RESTORE_BOOT: - /* - gfx_printf("WARNING!\nThis will mess with your switch boot files\nMake a nand backup beforehand!\n\nThis will pull from path:\nsd:/tegraexplorer/boot.bis\n\nVol +/- to cancel\n"); - if (gfx_makewaitmenu( - "Power to confirm", - 5 - )) - { - if ((res = utils_mmcMenu()) > 0) - restore_bis_using_file("sd:/tegraexplorer/boot.bis", res); - } - */ - break; } }