summaryrefslogtreecommitdiffstats
path: root/src/common/settings_common.h
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-08-30 04:20:59 +0200
committerGitHub <noreply@github.com>2023-08-30 04:20:59 +0200
commit44bce118534980a1da12ace2502408cf3d8641e2 (patch)
tree006675bed0e4a67709abba293ad5142609a41395 /src/common/settings_common.h
parentMerge pull request #11413 from t895/intents (diff)
parentandroid: Don't reload settings when stopping settings activity (diff)
downloadyuzu-44bce118534980a1da12ace2502408cf3d8641e2.tar
yuzu-44bce118534980a1da12ace2502408cf3d8641e2.tar.gz
yuzu-44bce118534980a1da12ace2502408cf3d8641e2.tar.bz2
yuzu-44bce118534980a1da12ace2502408cf3d8641e2.tar.lz
yuzu-44bce118534980a1da12ace2502408cf3d8641e2.tar.xz
yuzu-44bce118534980a1da12ace2502408cf3d8641e2.tar.zst
yuzu-44bce118534980a1da12ace2502408cf3d8641e2.zip
Diffstat (limited to 'src/common/settings_common.h')
-rw-r--r--src/common/settings_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings_common.h b/src/common/settings_common.h
index 3082e0ce1..5b170dfd5 100644
--- a/src/common/settings_common.h
+++ b/src/common/settings_common.h
@@ -12,6 +12,7 @@
namespace Settings {
enum class Category : u32 {
+ Android,
Audio,
Core,
Cpu,
@@ -68,6 +69,7 @@ public:
explicit Linkage(u32 initial_count = 0);
~Linkage();
std::map<Category, std::vector<BasicSetting*>> by_category{};
+ std::map<std::string, Settings::BasicSetting*> by_key{};
std::vector<std::function<void()>> restore_functions{};
u32 count;
};