From c645d70e95b630e54ee320eae1b91931603f9437 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 4 Feb 2020 18:55:56 -0700 Subject: [PATCH] Bug fix --- arm9/source/file_browse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/file_browse.cpp b/arm9/source/file_browse.cpp index 6cee520..075c657 100644 --- a/arm9/source/file_browse.cpp +++ b/arm9/source/file_browse.cpp @@ -108,7 +108,7 @@ void getDirectoryContents (vector& dirContents) { || (dirEntry.name.substr(dirEntry.name.find_last_of(".") + 1) == "dsi") || (dirEntry.name.substr(dirEntry.name.find_last_of(".") + 1) == "DSI")) { - dirEntry.isApp = (sdMounted || flashcardMounted); + dirEntry.isApp = ((currentDrive == 0 && sdMounted) || (currentDrive == 1 && flashcardMounted)); } else if ((dirEntry.name.substr(dirEntry.name.find_last_of(".") + 1) == "firm") || (dirEntry.name.substr(dirEntry.name.find_last_of(".") + 1) == "FIRM")) {