Merge pull request #4337 from lat9nq/fix-per-game-async

main: Set async gpu properly after loading per-game setting
This commit is contained in:
bunnei 2020-07-16 11:33:51 -04:00 committed by GitHub
commit 2781201bfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View file

@ -1368,11 +1368,13 @@ void Config::WriteSettingGlobal(const QString& name, const QVariant& value, bool
void Config::Reload() {
ReadValues();
Settings::Sanitize();
// To apply default value changes
SaveValues();
Settings::Apply();
}
void Config::Save() {
Settings::Sanitize();
SaveValues();
}