diff options
| author | 2023-09-26 01:01:20 -0400 | |
|---|---|---|
| committer | 2023-09-26 01:01:20 -0400 | |
| commit | 195d0a93b56553065e528010e9d3c4c28f838594 (patch) | |
| tree | e1a7d1a344b377d21ccb6306df68762d99bc5a21 /src | |
| parent | Merge pull request #11594 from t895/rotation-fix (diff) | |
| parent | settings_setting: Read audio engine (diff) | |
| download | yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar.gz yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar.xz yuzu-195d0a93b56553065e528010e9d3c4c28f838594.zip | |
Merge pull request #11599 from lat9nq/aud-bknd-fix
settings_setting: Read audio engine
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/settings_setting.h | 2 |
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 | } |