1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-01 00:46:32 -05:00

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