diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-18 21:42:59 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 16:56:55 +0200 |
commit | 1e093767a85ee0fdce6f1619e967a6560963dcf3 (patch) | |
tree | 41908aa9f566a587fedc6053ebda9b5798ecee28 /src/common/settings_common.h | |
parent | settings: Cleanup (diff) | |
download | yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar.gz yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar.bz2 yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar.lz yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar.xz yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar.zst yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/settings_common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/settings_common.h b/src/common/settings_common.h index b355384a4..ca218e37b 100644 --- a/src/common/settings_common.h +++ b/src/common/settings_common.h @@ -196,7 +196,7 @@ public: * * @returns The setting's category */ - [[nodiscard]] enum Category Category() const; + [[nodiscard]] Category GetCategory() const; /** * @returns Extra metadata for data representation in frontend implementations. @@ -246,9 +246,9 @@ public: [[nodiscard]] virtual bool UsingGlobal() const; private: - const std::string label; ///< The setting's label - const enum Category category; ///< The setting's category AKA INI group - const u32 id; ///< Unique integer for the setting + const std::string label; ///< The setting's label + const Category category; ///< The setting's category AKA INI group + const u32 id; ///< Unique integer for the setting const bool save; ///< Suggests if the setting should be saved and read to a frontend config const bool runtime_modifiable; ///< Suggests if the setting can be modified while a guest is running |