summaryrefslogtreecommitdiff
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
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 03a0ce606..65edcfc9f 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -59,10 +59,15 @@ void Config::ReadData() {
59 Settings::values.use_virtual_sd = glfw_config->GetBoolean("Data Storage", "use_virtual_sd", true); 59 Settings::values.use_virtual_sd = glfw_config->GetBoolean("Data Storage", "use_virtual_sd", true);
60} 60}
61 61
62void Config::ReadMiscellaneous() {
63 Settings::values.enable_log = glfw_config->GetBoolean("Miscellaneous", "enable_log", true);
64}
65
62void Config::Reload() { 66void Config::Reload() {
63 LoadINI(glfw_config, glfw_config_loc.c_str(), DefaultINI::glfw_config_file); 67 LoadINI(glfw_config, glfw_config_loc.c_str(), DefaultINI::glfw_config_file);
64 ReadControls(); 68 ReadControls();
65 ReadData(); 69 ReadData();
70 ReadMiscellaneous();
66} 71}
67 72
68Config::~Config() { 73Config::~Config() {