From 62268927843e818e7accad518bbd636f675777e8 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 4 Feb 2020 19:50:31 -0700 Subject: [PATCH] Make dumping option do nothing, if neither SD/Flashcard is mounted --- arm9/source/driveMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/driveMenu.cpp b/arm9/source/driveMenu.cpp index 35af8f4..776f1d4 100644 --- a/arm9/source/driveMenu.cpp +++ b/arm9/source/driveMenu.cpp @@ -326,7 +326,7 @@ void driveMenu (void) { screenMode = 1; break; } - } else if (dmAssignedOp[dmCursorPosition] == 4) { + } else if (dmAssignedOp[dmCursorPosition] == 4 && (sdMounted || flashcardMounted)) { dmTextPrinted = false; ndsCardDump(); } else if (dmAssignedOp[dmCursorPosition] == 5 && isDSiMode() && ramdrive1Mounted) {