yuzu: Save sound output mode and set it to Stereo by default

This commit is contained in:
FearlessTobi 2020-03-17 19:03:00 +01:00
parent 1c45c8086e
commit cdeadd448b
3 changed files with 7 additions and 0 deletions

View file

@ -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();
}