aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2019-05-05 03:07:09 +0200
committerFearlessTobi <thm.frey@gmail.com>2019-09-04 16:47:32 +0200
commit5aaafa6a56101a18759264bbf1ef9293d424f899 (patch)
treea003ef0c8b3af5821b2f1c28ff24e99b444b9e40 /src/yuzu/main.cpp
parentdfec9c9a437b7478abd8b280f6ce513da595ba73 (diff)
Separate UserNand and Sdmc directories
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 72c3eb0690..6d249cb3ea 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1311,11 +1311,13 @@ void GMainWindow::OnGameListNavigateToGamedbEntry(u64 program_id,
void GMainWindow::OnGameListOpenDirectory(const QString& directory) {
QString path;
- if (directory == QStringLiteral("INSTALLED")) {
- // TODO: Find a better solution when installing files to the SD card gets implemented
+ if (directory == QStringLiteral("SDMC")) {
+ path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir) +
+ "Nintendo/Contents/registered");
+ } else if (directory == QStringLiteral("UserNAND")) {
path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) +
"user/Contents/registered");
- } else if (directory == QStringLiteral("SYSTEM")) {
+ } else if (directory == QStringLiteral("SysNAND")) {
path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) +
"system/Contents/registered");
} else {