From 9335cf8857cb889e57f817b19154d68027538c21 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:20:24 -0400 Subject: [PATCH] settings_setting: Read audio engine This was mysteriously missing, likely from when I ported Citra fixes semi-recently. --- src/common/settings_setting.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/settings_setting.h b/src/common/settings_setting.h index 7be6f26f7..3175ab07d 100644 --- a/src/common/settings_setting.h +++ b/src/common/settings_setting.h @@ -187,6 +187,8 @@ public: this->SetValue(input == "true"); } else if constexpr (std::is_same_v) { this->SetValue(std::stof(input)); + } else if constexpr (std::is_same_v) { + this->SetValue(ToEnum(input)); } else { this->SetValue(static_cast(std::stoll(input))); }