forked from Mirror/GodMode9
Show "NOLABEL" for unlabeled SDs
This commit is contained in:
parent
4e61bcaa50
commit
9a7ff738be
@ -84,7 +84,7 @@ bool GetRootDirContentsWorker(DirStruct* contents) {
|
|||||||
u32 n_entries = 0;
|
u32 n_entries = 0;
|
||||||
|
|
||||||
char sdlabel[16];
|
char sdlabel[16];
|
||||||
if (!GetFATVolumeLabel("0:", sdlabel))
|
if (!GetFATVolumeLabel("0:", sdlabel) || !(*sdlabel))
|
||||||
snprintf(sdlabel, 16, "NOLABEL");
|
snprintf(sdlabel, 16, "NOLABEL");
|
||||||
|
|
||||||
char carttype[16];
|
char carttype[16];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user