From cec3315ac1d98255b72552c006536fd47d167b8c Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 16 Oct 2018 16:06:09 -0600 Subject: [PATCH] Minor change --- README.md | 2 +- arm9/source/file_browse.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6f475de..20035dd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ![GodMode9i](https://github.com/RocketRobz/GodMode9i/blob/master/resources/logo.png) _A full access file browser for the DS and DSi consoles_ :godmode: -GodMode9i is a full access file browser for the Nintendo DS and DSi consoles, similar to d0k3's GodMode9 for Nintendo 3DS, giving you access to your SD card, and the flashcard's microSD card (check below for supported flashcards in DSi mode). You can copy, delete, rename files and create folders. +GodMode9i is a full access file browser for the Nintendo DS and DSi consoles, similar to d0k3's GodMode9 for Nintendo 3DS, giving you access to your SD card, and the flashcard's microSD card (check below for supported flashcards in DSi mode). You can copy and delete files and folders. ## Supported flashcards, if being ran off the SD card or as a CIA * Acekard 2(i) diff --git a/arm9/source/file_browse.cpp b/arm9/source/file_browse.cpp index 84458fb..5ca6734 100644 --- a/arm9/source/file_browse.cpp +++ b/arm9/source/file_browse.cpp @@ -461,8 +461,7 @@ string browseForFile (void) { if (pressed & KEY_A) { DirEntry* entry = &dirContents.at(fileOffset); - if (((strcmp (entry->name.c_str(), "..") == 0) && (strcmp (path, "sd:/") == 0)) - || ((strcmp (entry->name.c_str(), "..") == 0) && (strcmp (path, "fat:/") == 0)) + if (((strcmp (entry->name.c_str(), "..") == 0) && (strcmp (path, (secondaryDrive ? "fat:/" : "sd:/")) == 0)) || ((strcmp (entry->name.c_str(), "..") == 0) && (strcmp (path, "nitro:/") == 0))) { screenMode = 0;