mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 05:37:58 -05:00
Merge pull request #159 from SeannyM/enable_log
Add support for disabling log from settings
This commit is contained in:
@ -91,16 +91,30 @@ 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();
|
||||
ReadCore();
|
||||
ReadData();
|
||||
ReadMiscellaneous();
|
||||
}
|
||||
|
||||
void Config::Save() {
|
||||
SaveControls();
|
||||
SaveCore();
|
||||
SaveData();
|
||||
SaveMiscellaneous();
|
||||
}
|
||||
|
||||
Config::~Config() {
|
||||
|
Reference in New Issue
Block a user