diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-26 07:01:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 07:01:20 +0200 |
commit | 195d0a93b56553065e528010e9d3c4c28f838594 (patch) | |
tree | e1a7d1a344b377d21ccb6306df68762d99bc5a21 | |
parent | Merge pull request #11594 from t895/rotation-fix (diff) | |
parent | settings_setting: Read audio engine (diff) | |
download | yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar.gz yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar.bz2 yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar.lz yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar.xz yuzu-195d0a93b56553065e528010e9d3c4c28f838594.tar.zst yuzu-195d0a93b56553065e528010e9d3c4c28f838594.zip |
-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: 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))); } |