1
0
mirror of https://github.com/parasyte/alt64 synced 2024-11-02 00:05:03 -04:00

hide system volume information dir

This commit is contained in:
Robin Jones 2017-10-13 01:00:59 +01:00
parent 04b8c0296c
commit 7ef013e3fd

View File

@ -1793,7 +1793,8 @@ void readSDcard(display_context_t disp, char *directory)
char name_tmpl[32];
rec = dir->rec[i];
if (strcmp(rec->name, "ED64") == 0 && hide_sysfolder == 1)
//TODO: this could be just an if statement...
if (strcmp(rec->name, "System Volume Information") == 0 || (strcmp(rec->name, "ED64") == 0 && hide_sysfolder == 1))
{
//don't add
}