yuzu: Save sound output mode and set it to Stereo by default
This commit is contained in:
parent
1c45c8086e
commit
cdeadd448b
3 changed files with 7 additions and 0 deletions
|
@ -698,6 +698,8 @@ void Config::ReadSystemValues() {
|
|||
Settings::values.custom_rtc = std::nullopt;
|
||||
}
|
||||
|
||||
Settings::values.sound_index = ReadSetting(QStringLiteral("sound_index"), 1).toInt();
|
||||
|
||||
qt_config->endGroup();
|
||||
}
|
||||
|
||||
|
@ -1125,6 +1127,8 @@ void Config::SaveSystemValues() {
|
|||
Settings::values.custom_rtc.value_or(std::chrono::seconds{}).count()),
|
||||
0);
|
||||
|
||||
WriteSetting(QStringLiteral("sound_index"), Settings::values.sound_index, 1);
|
||||
|
||||
qt_config->endGroup();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue