summaryrefslogtreecommitdiff
path: root/src/common/settings_common.h
diff options
context:
space:
mode:
authorGravatar lat9nq2023-09-13 13:31:46 -0400
committerGravatar lat9nq2023-09-13 13:36:25 -0400
commit0098ecb6090b767f13683136c28fee97b8b127c7 (patch)
tree33545276b9a19d2e503ae5effd49cdfa737ecc80 /src/common/settings_common.h
parentandroid/config: Remove uncaught usage of stoul (diff)
downloadyuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar.gz
yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.tar.xz
yuzu-0098ecb6090b767f13683136c28fee97b8b127c7.zip
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.h10
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:
225 */ 225 */
226 [[nodiscard]] virtual constexpr u32 EnumIndex() const = 0; 226 [[nodiscard]] virtual constexpr u32 EnumIndex() const = 0;
227 227
228 /**
229 * @returns True if the underlying type is a floating point storage
230 */
231 [[nodiscard]] virtual constexpr bool IsFloatingPoint() const = 0;
232
233 /**
234 * @returns True if the underlying type is a integer storage
235 */
236 [[nodiscard]] virtual constexpr bool IsIntegral() const = 0;
237
228 /* 238 /*
229 * Switchable settings 239 * Switchable settings
230 */ 240 */