mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-08 21:21:50 +00:00
commit
931cbc829f
4 changed files with 9 additions and 9 deletions
|
@ -23,7 +23,7 @@ enum utils_err_codes_te_call {
|
|||
ERR_SD_EJECTED,
|
||||
ERR_PARSE_FAIL,
|
||||
ERR_CANNOT_COPY_FILE_TO_FS_PART,
|
||||
ERR_NO_DESTENATION
|
||||
ERR_NO_DESTINATION
|
||||
};
|
||||
|
||||
extern const char *utils_err_codes_te[];
|
||||
|
@ -110,4 +110,4 @@ extern gpt_entry_rule gpt_fs_rules[];
|
|||
|
||||
extern menu_entry mmcmenu_start[];
|
||||
|
||||
extern menu_entry mmcmenu_filemenu[];
|
||||
extern menu_entry mmcmenu_filemenu[];
|
||||
|
|
|
@ -52,7 +52,7 @@ const char *utils_err_codes_te[] = { // these start at 50
|
|||
"SD EJECTED",
|
||||
"PARSING FAILED",
|
||||
"CANNOT COPY FILE TO FS PART",
|
||||
"NO DESTENATION"
|
||||
"NO DESTINATION"
|
||||
};
|
||||
/*
|
||||
const char *pkg2names[] = {
|
||||
|
@ -64,4 +64,4 @@ const char *pkg2names[] = {
|
|||
"BCPKG2-6-Repair-Sub"
|
||||
};
|
||||
*/
|
||||
const char *mainmenu_credits = "\nTegraexplorer, made by:\nSuch Meme, Many Skill\n\nProject based on:\nLockpick_RCM\nHekate\n\nCool people:\nshchmue\ndennthecafebabe\nDax";
|
||||
const char *mainmenu_credits = "\nTegraexplorer, made by:\nSuch Meme, Many Skill\n\nProject based on:\nLockpick_RCM\nHekate\n\nCool people:\nshchmue\ndennthecafebabe\nDax";
|
||||
|
|
|
@ -57,7 +57,7 @@ int emmcRestorePart(char *path, sdmmc_storage_t *mmcstorage, emmc_part_t *part){
|
|||
|
||||
if (totalSize < totalSizeDest){
|
||||
SWAPCOLOR(COLOR_ORANGE);
|
||||
gfx_printf("File is too small for destenation.\nDo you want to flash it anyway?\n\nVol +/- to Cancel\n");
|
||||
gfx_printf("File is too small for destination.\nDo you want to flash it anyway?\n\nVol +/- to Cancel\n");
|
||||
u8 btnres = gfx_makewaitmenu(
|
||||
"Power to Confirm",
|
||||
2
|
||||
|
@ -210,7 +210,7 @@ emmc_part_t *mmcFindPart(char *path, short mmcType){
|
|||
|
||||
//gfx_printf("Path: %s\nFilename: %s", path, filename);
|
||||
//btn_wait();
|
||||
gfx_errDisplay("mmcFindPart", ERR_NO_DESTENATION, 2);
|
||||
gfx_errDisplay("mmcFindPart", ERR_NO_DESTINATION, 2);
|
||||
free(path_local);
|
||||
return NULL;
|
||||
}
|
||||
|
@ -226,4 +226,4 @@ int mmcFlashFile(char *path, short mmcType){
|
|||
return res;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ int gfx_errDisplay(char *src_func, int err, int loc){
|
|||
|
||||
if (err < 15)
|
||||
gfx_printf("Desc: %s\n", utils_err_codes[err]);
|
||||
else if (err >= ERR_SAME_LOC && err <= ERR_NO_DESTENATION)
|
||||
else if (err >= ERR_SAME_LOC && err <= ERR_NO_DESTINATION)
|
||||
gfx_printf("Desc: %s\n", utils_err_codes_te[err - 50]);
|
||||
|
||||
if (loc)
|
||||
|
@ -136,4 +136,4 @@ void gfx_printfilesize(int size, char *type){
|
|||
SWAPCOLOR(COLOR_VIOLET);
|
||||
gfx_printf("\a%4d\e%s", size, type);
|
||||
RESETCOLOR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue