diff options
Diffstat (limited to 'src/citra/config.cpp')
| -rw-r--r-- | src/citra/config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index 1d5e9c717..03a0ce606 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp | |||
| @@ -55,9 +55,14 @@ void Config::ReadControls() { | |||
| 55 | Settings::values.pad_sright_key = glfw_config->GetInteger("Controls", "pad_sright", GLFW_KEY_RIGHT); | 55 | Settings::values.pad_sright_key = glfw_config->GetInteger("Controls", "pad_sright", GLFW_KEY_RIGHT); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | void Config::ReadData() { | ||
| 59 | Settings::values.use_virtual_sd = glfw_config->GetBoolean("Data Storage", "use_virtual_sd", true); | ||
| 60 | } | ||
| 61 | |||
| 58 | void Config::Reload() { | 62 | void Config::Reload() { |
| 59 | LoadINI(glfw_config, glfw_config_loc.c_str(), DefaultINI::glfw_config_file); | 63 | LoadINI(glfw_config, glfw_config_loc.c_str(), DefaultINI::glfw_config_file); |
| 60 | ReadControls(); | 64 | ReadControls(); |
| 65 | ReadData(); | ||
| 61 | } | 66 | } |
| 62 | 67 | ||
| 63 | Config::~Config() { | 68 | Config::~Config() { |