summaryrefslogtreecommitdiffstats
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorSean <seanmaas27@gmail.com>2014-10-27 22:18:28 +0100
committerSean <seanmaas27@gmail.com>2014-11-03 23:00:32 +0100
commit371b61f3eaf6ad8bc35311d906c8d780d1531f8b (patch)
tree9eb38c4d0033ba414b749f7905ff91ec0e7a93bc /src/citra/config.cpp
parentMerge pull request #154 from lioncash/dyncom (diff)
downloadyuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.gz
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.bz2
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.lz
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.xz
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.zst
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.zip
Diffstat (limited to 'src/citra/config.cpp')
-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 03a0ce606..65edcfc9f 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -59,10 +59,15 @@ void Config::ReadData() {
Settings::values.use_virtual_sd = glfw_config->GetBoolean("Data Storage", "use_virtual_sd", true);
}
+void Config::ReadMiscellaneous() {
+ Settings::values.enable_log = glfw_config->GetBoolean("Miscellaneous", "enable_log", true);
+}
+
void Config::Reload() {
LoadINI(glfw_config, glfw_config_loc.c_str(), DefaultINI::glfw_config_file);
ReadControls();
ReadData();
+ ReadMiscellaneous();
}
Config::~Config() {