Don't show drive size for now

This commit is contained in:
RocketRobz 2018-10-21 20:25:21 -06:00
parent 5766b4e040
commit e93e2e1794
2 changed files with 14 additions and 12 deletions

View File

@ -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)");

View File

@ -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;