diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-09-13 19:31:46 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-09-13 19:36:25 +0200 |
commit | 0098ecb6090b767f13683136c28fee97b8b127c7 (patch) | |
tree | 33545276b9a19d2e503ae5effd49cdfa737ecc80 /src/common/settings_common.h | |
parent | android/config: Remove uncaught usage of stoul (diff) | |
download | yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar.gz yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar.bz2 yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar.lz yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar.xz yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar.zst yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/settings_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/settings_common.h b/src/common/settings_common.h index 5b170dfd5..067234aab 100644 --- a/src/common/settings_common.h +++ b/src/common/settings_common.h @@ -225,6 +225,16 @@ public: */ [[nodiscard]] virtual constexpr u32 EnumIndex() const = 0; + /** + * @returns True if the underlying type is a floating point storage + */ + [[nodiscard]] virtual constexpr bool IsFloatingPoint() const = 0; + + /** + * @returns True if the underlying type is a integer storage + */ + [[nodiscard]] virtual constexpr bool IsIntegral() const = 0; + /* * Switchable settings */ |