diff options
| author | 2018-09-04 11:54:22 -0400 | |
|---|---|---|
| committer | 2018-09-04 11:54:22 -0400 | |
| commit | ed37b68fb5717f173b617f888980c012dc5c6a04 (patch) | |
| tree | 02a7d5b6df882dca1dccf848a8e35fc49a223ce8 /src/yuzu_cmd/config.cpp | |
| parent | Merge pull request #1232 from lioncash/copy (diff) | |
| parent | qt: Add message about not moving contents on dir change (diff) | |
| download | yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar.gz yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.tar.xz yuzu-ed37b68fb5717f173b617f888980c012dc5c6a04.zip | |
Merge pull request #1223 from DarkLordZach/custom-nand-sd-dirs
file_sys: Allow for custom NAND/SD directories
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 6 |
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() { | |||
| 114 | // Data Storage | 114 | // Data Storage |
| 115 | Settings::values.use_virtual_sd = | 115 | Settings::values.use_virtual_sd = |
| 116 | sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true); | 116 | sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true); |
| 117 | FileUtil::GetUserPath(FileUtil::UserPath::NANDDir, | ||
| 118 | sdl2_config->Get("Data Storage", "nand_directory", | ||
| 119 | FileUtil::GetUserPath(FileUtil::UserPath::NANDDir))); | ||
| 120 | FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir, | ||
| 121 | sdl2_config->Get("Data Storage", "nand_directory", | ||
| 122 | FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir))); | ||
| 117 | 123 | ||
| 118 | // System | 124 | // System |
| 119 | Settings::values.use_docked_mode = sdl2_config->GetBoolean("System", "use_docked_mode", false); | 125 | Settings::values.use_docked_mode = sdl2_config->GetBoolean("System", "use_docked_mode", false); |