summaryrefslogtreecommitdiffstats
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-10-10 04:43:40 +0200
committerarchshift <admin@archshift.com>2014-10-23 00:24:25 +0200
commita59f57d50467bd5dba1f28b8020278d6298babf7 (patch)
tree62f1528fcb2815bcb382ea8c606b6fa8fc18ba95 /src/citra/config.cpp
parentMerge pull request #145 from yuriks/shader-log-crash (diff)
downloadyuzu-a59f57d50467bd5dba1f28b8020278d6298babf7.tar
yuzu-a59f57d50467bd5dba1f28b8020278d6298babf7.tar.gz
yuzu-a59f57d50467bd5dba1f28b8020278d6298babf7.tar.bz2
yuzu-a59f57d50467bd5dba1f28b8020278d6298babf7.tar.lz
yuzu-a59f57d50467bd5dba1f28b8020278d6298babf7.tar.xz
yuzu-a59f57d50467bd5dba1f28b8020278d6298babf7.tar.zst
yuzu-a59f57d50467bd5dba1f28b8020278d6298babf7.zip
Diffstat (limited to '')
-rw-r--r--src/citra/config.cpp5
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() {
Settings::values.pad_sright_key = glfw_config->GetInteger("Controls", "pad_sright", GLFW_KEY_RIGHT);
}
+void Config::ReadData() {
+ Settings::values.use_virtual_sd = glfw_config->GetBoolean("Data Storage", "use_virtual_sd", true);
+}
+
void Config::Reload() {
LoadINI(glfw_config, glfw_config_loc.c_str(), DefaultINI::glfw_config_file);
ReadControls();
+ ReadData();
}
Config::~Config() {