diff --git a/source/tegraexplorer/fs.c b/source/tegraexplorer/fs.c index 18468d2..cf17197 100644 --- a/source/tegraexplorer/fs.c +++ b/source/tegraexplorer/fs.c @@ -363,8 +363,9 @@ void filemenu(const char *startpath){ sprintf(temp, "\nSize: %d %s", fileobjects[res - 1].size, sizevalues[tempint - 4]); strcpy(explfilemenu[2].name, temp); - if (strstr(fileobjects[res - 1].name, ".bin") != NULL) + if (strstr(fileobjects[res - 1].name, ".bin") != NULL && fileobjects[res - 1].size & ISKB){ explfilemenu[7].property = 1; + } else explfilemenu[7].property = -1; diff --git a/source/tegraexplorer/gfx.c b/source/tegraexplorer/gfx.c index 94c1f82..07a610e 100644 --- a/source/tegraexplorer/gfx.c +++ b/source/tegraexplorer/gfx.c @@ -26,7 +26,7 @@ void clearscreen(){ gfx_clear_grey(0x1B); gfx_box(0, 0, 719, 15, COLOR_WHITE); gfx_con_setpos(0, 0); - gfx_printf("%k%KTegraexplorer%k%K\n", COLOR_DEFAULT, COLOR_WHITE, COLOR_WHITE, COLOR_DEFAULT); + gfx_printf("%k%KTegraexplorer v1.0.2%k%K\n", COLOR_DEFAULT, COLOR_WHITE, COLOR_WHITE, COLOR_DEFAULT); } int message(char* message, u32 color){ diff --git a/source/tegraexplorer/te.c b/source/tegraexplorer/te.c index 7c4c682..7eba897 100644 --- a/source/tegraexplorer/te.c +++ b/source/tegraexplorer/te.c @@ -77,9 +77,14 @@ void fillmainmenu(){ void te_main(){ int res; - dump_biskeys(); - mount_emmc("SYSTEM", 2); - + if (dump_biskeys() == -1){ + message("Biskeys failed to dump!\nEmmc will not be mounted!", COLOR_RED); + mainmenu[1].property = -1; + } + else { + mount_emmc("SYSTEM", 2); + } + sd_mounted = sd_mount(); while (1){