summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/config.cpp
diff options
context:
space:
mode:
authorpurpasmart96 <kanzoconfigz@hotmail.com>2015-02-01 00:11:51 +0100
committerpurpasmart96 <kanzoconfigz@hotmail.com>2015-02-08 02:34:59 +0100
commit60ce36f721415a1be26eab838ed4196efd3e475f (patch)
treea59e99e485ee5ede0823fc358f49d0085c477bee /src/citra_qt/config.cpp
parentMerge pull request #516 from lioncash/cleanup (diff)
downloadyuzu-60ce36f721415a1be26eab838ed4196efd3e475f.tar
yuzu-60ce36f721415a1be26eab838ed4196efd3e475f.tar.gz
yuzu-60ce36f721415a1be26eab838ed4196efd3e475f.tar.bz2
yuzu-60ce36f721415a1be26eab838ed4196efd3e475f.tar.lz
yuzu-60ce36f721415a1be26eab838ed4196efd3e475f.tar.xz
yuzu-60ce36f721415a1be26eab838ed4196efd3e475f.tar.zst
yuzu-60ce36f721415a1be26eab838ed4196efd3e475f.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/config.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index 1596c08d7..b0ff5a37e 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -52,6 +52,10 @@ void Config::ReadValues() {
Settings::values.use_virtual_sd = qt_config->value("use_virtual_sd", true).toBool();
qt_config->endGroup();
+ qt_config->beginGroup("System Region");
+ Settings::values.region_value = qt_config->value("region_value", 1).toInt();
+ qt_config->endGroup();
+
qt_config->beginGroup("Miscellaneous");
Settings::values.log_filter = qt_config->value("log_filter", "*:Info").toString().toStdString();
qt_config->endGroup();
@@ -88,6 +92,10 @@ void Config::SaveValues() {
qt_config->setValue("use_virtual_sd", Settings::values.use_virtual_sd);
qt_config->endGroup();
+ qt_config->beginGroup("System Region");
+ qt_config->setValue("region_value", Settings::values.region_value);
+ qt_config->endGroup();
+
qt_config->beginGroup("Miscellaneous");
qt_config->setValue("log_filter", QString::fromStdString(Settings::values.log_filter));
qt_config->endGroup();