mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 15:42:51 +00:00
settings_setting: Read audio engine
This was mysteriously missing, likely from when I ported Citra fixes semi-recently.
This commit is contained in:
parent
4e855be38b
commit
9335cf8857
|
@ -187,6 +187,8 @@ public:
|
|||
this->SetValue(input == "true");
|
||||
} else if constexpr (std::is_same_v<Type, float>) {
|
||||
this->SetValue(std::stof(input));
|
||||
} else if constexpr (std::is_same_v<Type, AudioEngine>) {
|
||||
this->SetValue(ToEnum<AudioEngine>(input));
|
||||
} else {
|
||||
this->SetValue(static_cast<Type>(std::stoll(input)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue