mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
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;
|
||||
|
||||
char sdlabel[16];
|
||||
if (!GetFATVolumeLabel("0:", sdlabel))
|
||||
if (!GetFATVolumeLabel("0:", sdlabel) || !(*sdlabel))
|
||||
snprintf(sdlabel, 16, "NOLABEL");
|
||||
|
||||
char carttype[16];
|
||||
|
Loading…
x
Reference in New Issue
Block a user