diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-09-13 13:31:46 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-09-13 13:36:25 -0400 |
| commit | 8d8e9552aabed1fd6dc6b80f7a260b91809a2ac5 (patch) | |
| tree | 33545276b9a19d2e503ae5effd49cdfa737ecc80 /src/common/settings_common.h | |
| parent | a681050e24016593942a4182ac53aa82a373a4ca (diff) | |
settings: Retro-port Citra Settings work
This has yet to be PR'd on Citra, but regressions on yuzu that have
been fixed in Citra needed to appear here.
Diffstat (limited to 'src/common/settings_common.h')
| -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 5b170dfd5d..067234aab0 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 */ |
