diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-09-26 04:20:24 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-09-26 04:20:24 +0200 |
commit | 9335cf8857cb889e57f817b19154d68027538c21 (patch) | |
tree | e1a7d1a344b377d21ccb6306df68762d99bc5a21 /src/common/settings_setting.h | |
parent | Merge pull request #11594 from t895/rotation-fix (diff) | |
download | yuzu-9335cf8857cb889e57f817b19154d68027538c21.tar yuzu-9335cf8857cb889e57f817b19154d68027538c21.tar.gz yuzu-9335cf8857cb889e57f817b19154d68027538c21.tar.bz2 yuzu-9335cf8857cb889e57f817b19154d68027538c21.tar.lz yuzu-9335cf8857cb889e57f817b19154d68027538c21.tar.xz yuzu-9335cf8857cb889e57f817b19154d68027538c21.tar.zst yuzu-9335cf8857cb889e57f817b19154d68027538c21.zip |
Diffstat (limited to '')
-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))); } |