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') {
|
if (sdLabel[0] != '\0') {
|
||||||
iprintf (" (%s)", sdLabel);
|
iprintf (" (%s)", sdLabel);
|
||||||
}
|
}
|
||||||
printf ("\n(SD FAT, ");
|
printf ("\n(SD FAT)");
|
||||||
printBytes(sdSize);
|
//printf ("\n(SD FAT, ");
|
||||||
printf(")");
|
//printBytes(sdSize);
|
||||||
|
//printf(")");
|
||||||
} else if (dmAssignedOp[dmCursorPosition] == 1) {
|
} else if (dmAssignedOp[dmCursorPosition] == 1) {
|
||||||
printf ("[fat:] FLASHCART");
|
printf ("[fat:] FLASHCART");
|
||||||
if (fatLabel[0] != '\0') {
|
if (fatLabel[0] != '\0') {
|
||||||
iprintf (" (%s)", fatLabel);
|
iprintf (" (%s)", fatLabel);
|
||||||
}
|
}
|
||||||
printf ("\n(Slot-1 SD FAT, ");
|
printf ("\n(Slot-1 SD FAT)");
|
||||||
printBytes(fatSize);
|
//printf ("\n(Slot-1 SD FAT, ");
|
||||||
printf(")");
|
//printBytes(fatSize);
|
||||||
|
//printf(")");
|
||||||
} else if (dmAssignedOp[dmCursorPosition] == 2) {
|
} else if (dmAssignedOp[dmCursorPosition] == 2) {
|
||||||
printf ("GBA GAMECART\n");
|
printf ("GBA GAMECART\n");
|
||||||
printf ("(GBA Game)");
|
printf ("(GBA Game)");
|
||||||
|
|||||||
@ -80,10 +80,10 @@ TWL_CODE bool sdMount(void) {
|
|||||||
sdMountedDone = true;
|
sdMountedDone = true;
|
||||||
fatGetVolumeLabel("sd", sdLabel);
|
fatGetVolumeLabel("sd", sdLabel);
|
||||||
fixLabel(false);
|
fixLabel(false);
|
||||||
struct statvfs st;
|
/*struct statvfs st;
|
||||||
if (statvfs("sd:/", &st) == 0) {
|
if (statvfs("sd:/", &st) == 0) {
|
||||||
sdSize = st.f_bsize * st.f_blocks;
|
sdSize = st.f_bsize * st.f_blocks;
|
||||||
}
|
}*/
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@ -219,10 +219,10 @@ TWL_CODE bool twl_flashcardMount(void) {
|
|||||||
if (flashcardFound()) {
|
if (flashcardFound()) {
|
||||||
fatGetVolumeLabel("fat", fatLabel);
|
fatGetVolumeLabel("fat", fatLabel);
|
||||||
fixLabel(true);
|
fixLabel(true);
|
||||||
struct statvfs st;
|
/*struct statvfs st;
|
||||||
if (statvfs("fat:/", &st) == 0) {
|
if (statvfs("fat:/", &st) == 0) {
|
||||||
fatSize = st.f_bsize * st.f_blocks;
|
fatSize = st.f_bsize * st.f_blocks;
|
||||||
}
|
}*/
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -235,10 +235,10 @@ bool flashcardMount(void) {
|
|||||||
if (flashcardFound()) {
|
if (flashcardFound()) {
|
||||||
fatGetVolumeLabel("fat", fatLabel);
|
fatGetVolumeLabel("fat", fatLabel);
|
||||||
fixLabel(true);
|
fixLabel(true);
|
||||||
struct statvfs st;
|
/*struct statvfs st;
|
||||||
if (statvfs("fat:/", &st) == 0) {
|
if (statvfs("fat:/", &st) == 0) {
|
||||||
fatSize = st.f_bsize * st.f_blocks;
|
fatSize = st.f_bsize * st.f_blocks;
|
||||||
}
|
}*/
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user