summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar lat9nq2023-09-25 22:20:24 -0400
committerGravatar lat9nq2023-09-25 22:20:24 -0400
commit9335cf8857cb889e57f817b19154d68027538c21 (patch)
treee1a7d1a344b377d21ccb6306df68762d99bc5a21 /src/common
parentMerge pull request #11594 from t895/rotation-fix (diff)
downloadyuzu-9335cf8857cb889e57f817b19154d68027538c21.tar.gz
yuzu-9335cf8857cb889e57f817b19154d68027538c21.tar.xz
yuzu-9335cf8857cb889e57f817b19154d68027538c21.zip
settings_setting: Read audio engine
This was mysteriously missing, likely from when I ported Citra fixes semi-recently.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings_setting.h2
1 files changed, 2 insertions, 0 deletions
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:
187 this->SetValue(input == "true"); 187 this->SetValue(input == "true");
188 } else if constexpr (std::is_same_v<Type, float>) { 188 } else if constexpr (std::is_same_v<Type, float>) {
189 this->SetValue(std::stof(input)); 189 this->SetValue(std::stof(input));
190 } else if constexpr (std::is_same_v<Type, AudioEngine>) {
191 this->SetValue(ToEnum<AudioEngine>(input));
190 } else { 192 } else {
191 this->SetValue(static_cast<Type>(std::stoll(input))); 193 this->SetValue(static_cast<Type>(std::stoll(input)));
192 } 194 }