summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/config.cpp')
-rw-r--r--src/citra_qt/config.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index 0c4f75a96..0ebc15f13 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -76,14 +76,28 @@ void Config::SaveData() {
qt_config->endGroup();
}
+void Config::ReadMiscellaneous() {
+ qt_config->beginGroup("Miscellaneous");
+ Settings::values.enable_log = qt_config->value("enable_log", true).toBool();
+ qt_config->endGroup();
+}
+
+void Config::SaveMiscellaneous() {
+ qt_config->beginGroup("Miscellaneous");
+ qt_config->setValue("enable_log", Settings::values.enable_log);
+ qt_config->endGroup();
+}
+
void Config::Reload() {
ReadControls();
ReadData();
+ ReadMiscellaneous();
}
void Config::Save() {
SaveControls();
SaveData();
+ SaveMiscellaneous();
}
Config::~Config() {