diff --git a/arm9/source/driveMenu.cpp b/arm9/source/driveMenu.cpp index 69b12c0..c67efa2 100644 --- a/arm9/source/driveMenu.cpp +++ b/arm9/source/driveMenu.cpp @@ -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)"); diff --git a/arm9/source/driveOperations.cpp b/arm9/source/driveOperations.cpp index e12b505..dc1a312 100644 --- a/arm9/source/driveOperations.cpp +++ b/arm9/source/driveOperations.cpp @@ -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;