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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user