summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-04 17:54:22 +0200
committerGitHub <noreply@github.com>2018-09-04 17:54:22 +0200
commited37b68fb5717f173b617f888980c012dc5c6a04 (patch)
tree02a7d5b6df882dca1dccf848a8e35fc49a223ce8 /src/yuzu_cmd/config.cpp
parentMerge pull request #1232 from lioncash/copy (diff)
parentqt: Add message about not moving contents on dir change (diff)
downloadyuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar
yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar.gz
yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar.bz2
yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar.lz
yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar.xz
yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar.zst
yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.zip
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index a95580152..f00b5a66b 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -114,6 +114,12 @@ void Config::ReadValues() {
// Data Storage
Settings::values.use_virtual_sd =
sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true);
+ FileUtil::GetUserPath(FileUtil::UserPath::NANDDir,
+ sdl2_config->Get("Data Storage", "nand_directory",
+ FileUtil::GetUserPath(FileUtil::UserPath::NANDDir)));
+ FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir,
+ sdl2_config->Get("Data Storage", "nand_directory",
+ FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir)));
// System
Settings::values.use_docked_mode = sdl2_config->GetBoolean("System", "use_docked_mode", false);