mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-12 15:06:42 +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[];
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue