Minor change

This commit is contained in:
RocketRobz 2018-10-16 16:06:09 -06:00
parent d78437e749
commit cec3315ac1
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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;