1
0
Fork 0
mirror of https://github.com/PabloMK7/citra.git synced 2025-02-18 11:30:17 +00:00

citra_qt: Write to config file on important config changes ()

Qt isn't always writing changes on save. This causes config to be lost on crash. This PR ensures all changes are always saved on the file.

Ported from yuzu.

Co-authored-by: Narr the Reg <5944268+german77@users.noreply.github.com>
This commit is contained in:
Tobias 2023-02-25 11:57:59 +01:00 committed by GitHub
parent 286f750c6c
commit cc5ea21f1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -821,6 +821,7 @@ void Config::SaveValues() {
SaveLayoutValues();
SaveAudioValues();
SaveSystemValues();
qt_config->sync();
}
void Config::SaveAudioValues() {