summaryrefslogtreecommitdiff
path: root/src/common/settings_common.h
diff options
context:
space:
mode:
authorGravatar liamwhite2023-09-16 11:40:03 -0400
committerGravatar GitHub2023-09-16 11:40:03 -0400
commitc05ea35f78bd4de663bc022a7048e88d6ade594b (patch)
treecee0c61ea4a84b2d876ac7c69d38542967bfb919 /src/common/settings_common.h
parentMerge pull request #11483 from FearlessTobi/save-size-max (diff)
parentshared_widget: Use default literals more (diff)
downloadyuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar.gz
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.tar.xz
yuzu-c05ea35f78bd4de663bc022a7048e88d6ade594b.zip
Merge pull request #11492 from lat9nq/c-numeric-conversions
general: Remove uncaught usages of C++ string number conversions
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..1800ab10d 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 an integer storage
235 */
236 [[nodiscard]] virtual constexpr bool IsIntegral() const = 0;
237
228 /* 238 /*
229 * Switchable settings 239 * Switchable settings
230 */ 240 */