mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Don't show drive size for now
This commit is contained in:
parent
5766b4e040
commit
e93e2e1794
@ -217,17 +217,19 @@ void dm_drawBottomScreen(void) {
|
||||
if (sdLabel[0] != '\0') {
|
||||
iprintf (" (%s)", sdLabel);
|
||||
}
|
||||
printf ("\n(SD FAT, ");
|
||||
printBytes(sdSize);
|
||||
printf(")");
|
||||
printf ("\n(SD FAT)");
|
||||
//printf ("\n(SD FAT, ");
|
||||
//printBytes(sdSize);
|
||||
//printf(")");
|
||||
} else if (dmAssignedOp[dmCursorPosition] == 1) {
|
||||
printf ("[fat:] FLASHCART");
|
||||
if (fatLabel[0] != '\0') {
|
||||
iprintf (" (%s)", fatLabel);
|
||||
}
|
||||
printf ("\n(Slot-1 SD FAT, ");
|
||||
printBytes(fatSize);
|
||||
printf(")");
|
||||
printf ("\n(Slot-1 SD FAT)");
|
||||
//printf ("\n(Slot-1 SD FAT, ");
|
||||
//printBytes(fatSize);
|
||||
//printf(")");
|
||||
} else if (dmAssignedOp[dmCursorPosition] == 2) {
|
||||
printf ("GBA GAMECART\n");
|
||||
printf ("(GBA Game)");
|
||||
|
||||
@ -80,10 +80,10 @@ TWL_CODE bool sdMount(void) {
|
||||
sdMountedDone = true;
|
||||
fatGetVolumeLabel("sd", sdLabel);
|
||||
fixLabel(false);
|
||||
struct statvfs st;
|
||||
/*struct statvfs st;
|
||||
if (statvfs("sd:/", &st) == 0) {
|
||||
sdSize = st.f_bsize * st.f_blocks;
|
||||
}
|
||||
}*/
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -219,10 +219,10 @@ TWL_CODE bool twl_flashcardMount(void) {
|
||||
if (flashcardFound()) {
|
||||
fatGetVolumeLabel("fat", fatLabel);
|
||||
fixLabel(true);
|
||||
struct statvfs st;
|
||||
/*struct statvfs st;
|
||||
if (statvfs("fat:/", &st) == 0) {
|
||||
fatSize = st.f_bsize * st.f_blocks;
|
||||
}
|
||||
}*/
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -235,10 +235,10 @@ bool flashcardMount(void) {
|
||||
if (flashcardFound()) {
|
||||
fatGetVolumeLabel("fat", fatLabel);
|
||||
fixLabel(true);
|
||||
struct statvfs st;
|
||||
/*struct statvfs st;
|
||||
if (statvfs("fat:/", &st) == 0) {
|
||||
fatSize = st.f_bsize * st.f_blocks;
|
||||
}
|
||||
}*/
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user