1
0
Fork 0
forked from eden-emu/eden

Merge pull request #11599 from lat9nq/aud-bknd-fix

settings_setting: Read audio engine
This commit is contained in:
liamwhite 2023-09-26 01:01:20 -04:00 committed by GitHub
commit 195d0a93b5
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

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