yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

settings_setting: Read audio engine

This was mysteriously missing, likely from when I ported Citra fixes
semi-recently.
This commit is contained in:
lat9nq 2023-09-25 22:20:24 -04:00
parent 4e855be38b
commit 9335cf8857
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ public:
this->SetValue(input == "true"); this->SetValue(input == "true");
} else if constexpr (std::is_same_v<Type, float>) { } else if constexpr (std::is_same_v<Type, float>) {
this->SetValue(std::stof(input)); this->SetValue(std::stof(input));
} else if constexpr (std::is_same_v<Type, AudioEngine>) {
this->SetValue(ToEnum<AudioEngine>(input));
} else { } else {
this->SetValue(static_cast<Type>(std::stoll(input))); this->SetValue(static_cast<Type>(std::stoll(input)));
} }