Fix flashcardMount() code

This commit is contained in:
RocketRobz 2018-10-16 15:51:30 -06:00
parent 1c99a3a613
commit d78437e749

View File

@ -217,11 +217,7 @@ TWL_CODE bool twl_flashcardMount(void) {
} }
bool flashcardMount(void) { bool flashcardMount(void) {
if (flashcardFound()) { if ((!isDSiMode()) || (arm7SCFGLocked && !sdMountedDone)) {
fatGetVolumeLabel("fat", fatLabel);
fixLabel(true);
return true;
} else if ((!isDSiMode()) || (arm7SCFGLocked && !sdMountedDone)) {
fatInitDefault(); fatInitDefault();
if (flashcardFound()) { if (flashcardFound()) {
fatGetVolumeLabel("fat", fatLabel); fatGetVolumeLabel("fat", fatLabel);