mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-26 13:52:06 +00:00
Reorganise emmc.c/h and rename main menu c file
This commit is contained in:
parent
9d36f741d9
commit
7191743f5d
7 changed files with 29 additions and 27 deletions
|
@ -38,7 +38,7 @@
|
||||||
#include "utils/dirlist.h"
|
#include "utils/dirlist.h"
|
||||||
#include "utils/sprintf.h"
|
#include "utils/sprintf.h"
|
||||||
#include "utils/util.h"
|
#include "utils/util.h"
|
||||||
#include "tegraexplorer/te.h"
|
#include "tegraexplorer/mainmenu.h"
|
||||||
|
|
||||||
//#include "keys/keys.h"
|
//#include "keys/keys.h"
|
||||||
|
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "../mem/heap.h"
|
|
||||||
#include "emmc.h"
|
#include "emmc.h"
|
||||||
#include "../utils/types.h"
|
#include "../../mem/heap.h"
|
||||||
#include "../libs/fatfs/ff.h"
|
#include "../../utils/types.h"
|
||||||
#include "../utils/sprintf.h"
|
#include "../../libs/fatfs/ff.h"
|
||||||
#include "../utils/btn.h"
|
#include "../../utils/sprintf.h"
|
||||||
#include "../gfx/gfx.h"
|
#include "../../utils/btn.h"
|
||||||
#include "../utils/util.h"
|
#include "../../gfx/gfx.h"
|
||||||
#include "../hos/pkg1.h"
|
#include "../../utils/util.h"
|
||||||
#include "../storage/sdmmc.h"
|
#include "../../hos/pkg1.h"
|
||||||
#include "../storage/nx_emmc.h"
|
#include "../../storage/sdmmc.h"
|
||||||
#include "../sec/tsec.h"
|
#include "../../storage/nx_emmc.h"
|
||||||
#include "../soc/t210.h"
|
#include "../../sec/tsec.h"
|
||||||
#include "../soc/fuse.h"
|
#include "../../soc/t210.h"
|
||||||
#include "../mem/mc.h"
|
#include "../../soc/fuse.h"
|
||||||
#include "../sec/se.h"
|
#include "../../mem/mc.h"
|
||||||
#include "../soc/hw_init.h"
|
#include "../../sec/se.h"
|
||||||
#include "../mem/emc.h"
|
#include "../../soc/hw_init.h"
|
||||||
#include "../mem/sdram.h"
|
#include "../../mem/emc.h"
|
||||||
#include "../storage/emummc.h"
|
#include "../../mem/sdram.h"
|
||||||
#include "../config/config.h"
|
#include "../../storage/emummc.h"
|
||||||
#include "common/common.h"
|
#include "../../config/config.h"
|
||||||
|
#include "../common/common.h"
|
||||||
|
|
||||||
sdmmc_storage_t storage;
|
sdmmc_storage_t storage;
|
||||||
emmc_part_t *system_part;
|
emmc_part_t *system_part;
|
|
@ -1,4 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include "../../utils/types.h"
|
||||||
|
|
||||||
typedef struct _pkg1_info {
|
typedef struct _pkg1_info {
|
||||||
short ver;
|
short ver;
|
|
@ -1,10 +1,10 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "te.h"
|
#include "mainmenu.h"
|
||||||
#include "../utils/util.h"
|
#include "../utils/util.h"
|
||||||
#include "utils/tools.h"
|
#include "utils/tools.h"
|
||||||
#include "../utils/btn.h"
|
#include "../utils/btn.h"
|
||||||
#include "emmc.h"
|
#include "emmc/emmc.h"
|
||||||
#include "../storage/emummc.h"
|
#include "../storage/emummc.h"
|
||||||
#include "utils/script.h"
|
#include "utils/script.h"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#define MAINMENU_AMOUNT 12
|
#define MAINMENU_AMOUNT 12
|
||||||
#define CREDITS_MESSAGE "\nTegraexplorer, made by:\nSuch Meme, Many Skill\n\nProject based on:\nLockpick_RCM\nHekate\n\nCool people:\nshchmue\ndennthecafebabe\nDax"
|
#define CREDITS_MESSAGE "\nTegraexplorer, made by:\nSuch Meme, Many Skill\n\nProject based on:\nLockpick_RCM\nHekate\n\nCool people:\nshchmue\ndennthecafebabe\nDax"
|
||||||
|
|
||||||
|
/*
|
||||||
typedef struct _menu_item {
|
typedef struct _menu_item {
|
||||||
char name[50];
|
char name[50];
|
||||||
u32 color;
|
u32 color;
|
||||||
|
@ -11,7 +12,7 @@ typedef struct _menu_item {
|
||||||
short property;
|
short property;
|
||||||
} menu_item;
|
} menu_item;
|
||||||
|
|
||||||
/*
|
|
||||||
enum mainmenu_return {
|
enum mainmenu_return {
|
||||||
SD_CARD = 1,
|
SD_CARD = 1,
|
||||||
EMMC_SAF,
|
EMMC_SAF,
|
|
@ -1,7 +1,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "../../mem/heap.h"
|
#include "../../mem/heap.h"
|
||||||
#include "../gfx/gfxutils.h"
|
#include "../gfx/gfxutils.h"
|
||||||
#include "../emmc.h"
|
#include "../emmc/emmc.h"
|
||||||
#include "../../utils/types.h"
|
#include "../../utils/types.h"
|
||||||
#include "../../libs/fatfs/ff.h"
|
#include "../../libs/fatfs/ff.h"
|
||||||
#include "../../utils/sprintf.h"
|
#include "../../utils/sprintf.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "../../storage/sdmmc.h"
|
#include "../../storage/sdmmc.h"
|
||||||
#include "../../utils/sprintf.h"
|
#include "../../utils/sprintf.h"
|
||||||
#include "../../soc/fuse.h"
|
#include "../../soc/fuse.h"
|
||||||
#include "../emmc.h"
|
#include "../emmc/emmc.h"
|
||||||
#include "../common/common.h"
|
#include "../common/common.h"
|
||||||
#include "../fs/fsactions.h"
|
#include "../fs/fsactions.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue