diff options
Diffstat (limited to 'src/citra_qt/config.cpp')
| -rw-r--r-- | src/citra_qt/config.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp index 63d396439..09fce4d6f 100644 --- a/src/citra_qt/config.cpp +++ b/src/citra_qt/config.cpp | |||
| @@ -91,16 +91,30 @@ void Config::SaveData() { | |||
| 91 | qt_config->endGroup(); | 91 | qt_config->endGroup(); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | void Config::ReadMiscellaneous() { | ||
| 95 | qt_config->beginGroup("Miscellaneous"); | ||
| 96 | Settings::values.enable_log = qt_config->value("enable_log", true).toBool(); | ||
| 97 | qt_config->endGroup(); | ||
| 98 | } | ||
| 99 | |||
| 100 | void Config::SaveMiscellaneous() { | ||
| 101 | qt_config->beginGroup("Miscellaneous"); | ||
| 102 | qt_config->setValue("enable_log", Settings::values.enable_log); | ||
| 103 | qt_config->endGroup(); | ||
| 104 | } | ||
| 105 | |||
| 94 | void Config::Reload() { | 106 | void Config::Reload() { |
| 95 | ReadControls(); | 107 | ReadControls(); |
| 96 | ReadCore(); | 108 | ReadCore(); |
| 97 | ReadData(); | 109 | ReadData(); |
| 110 | ReadMiscellaneous(); | ||
| 98 | } | 111 | } |
| 99 | 112 | ||
| 100 | void Config::Save() { | 113 | void Config::Save() { |
| 101 | SaveControls(); | 114 | SaveControls(); |
| 102 | SaveCore(); | 115 | SaveCore(); |
| 103 | SaveData(); | 116 | SaveData(); |
| 117 | SaveMiscellaneous(); | ||
| 104 | } | 118 | } |
| 105 | 119 | ||
| 106 | Config::~Config() { | 120 | Config::~Config() { |