1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-26 22:02:08 +00:00
TegraExplorer/source/tegraexplorer/mainmenu.h

53 lines
727 B
C
Raw Normal View History

#pragma once
#include "../utils/types.h"
2020-01-27 22:51:59 +00:00
#define MAINMENU_AMOUNT 12
/*
typedef struct _menu_item {
char name[50];
u32 color;
short internal_function;
short property;
} menu_item;
2019-11-21 20:27:48 +00:00
enum mainmenu_return {
SD_CARD = 1,
2019-12-22 11:10:59 +00:00
EMMC_SAF,
2019-12-11 12:18:57 +00:00
EMMC_SYS,
EMMC_USR,
2020-01-27 22:51:59 +00:00
EMUMMC_SAF,
EMUMMC_SYS,
EMUMMC_USR,
2019-11-21 20:27:48 +00:00
MOUNT_SD,
TOOLS,
2019-12-11 12:18:57 +00:00
SD_FORMAT,
2019-11-21 20:27:48 +00:00
CREDITS,
EXIT
};
enum shutdownmenu_return {
REBOOT_RCM = 1,
REBOOT_NORMAL,
POWER_OFF,
HEKATE,
AMS
2019-11-21 20:27:48 +00:00
};
enum toolsmenu_return {
2019-12-03 09:06:11 +00:00
DISPLAY_INFO = 1,
2019-12-03 16:11:08 +00:00
DISPLAY_GPIO,
DUMPFIRMWARE,
2020-03-14 14:03:08 +00:00
DUMPUSERSAVE,
DUMP_BOOT,
RESTORE_BOOT
};
enum formatmenu_return {
2019-12-12 12:18:43 +00:00
FORMAT_EMUMMC = 0,
FORMAT_ALL_FAT32
2019-11-21 20:27:48 +00:00
};
2020-03-17 23:41:09 +00:00
*/
2019-11-21 20:27:48 +00:00
void te_main();