diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-08-16 08:36:56 +0200 |
---|---|---|
committer | Charles Lombardo <clombardo169@gmail.com> | 2023-08-30 01:40:17 +0200 |
commit | 6c8f2b355ace41e33e8a1ad2f95d2816893a953b (patch) | |
tree | f7e96841efb0aa2d6a9b0a16df8247c2ec9da2a1 /src/common/settings_common.cpp | |
parent | Merge pull request #11406 from german77/sdl2-28-2 (diff) | |
download | yuzu-6c8f2b355ace41e33e8a1ad2f95d2816893a953b.tar yuzu-6c8f2b355ace41e33e8a1ad2f95d2816893a953b.tar.gz yuzu-6c8f2b355ace41e33e8a1ad2f95d2816893a953b.tar.bz2 yuzu-6c8f2b355ace41e33e8a1ad2f95d2816893a953b.tar.lz yuzu-6c8f2b355ace41e33e8a1ad2f95d2816893a953b.tar.xz yuzu-6c8f2b355ace41e33e8a1ad2f95d2816893a953b.tar.zst yuzu-6c8f2b355ace41e33e8a1ad2f95d2816893a953b.zip |
Diffstat (limited to 'src/common/settings_common.cpp')
-rw-r--r-- | src/common/settings_common.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/settings_common.cpp b/src/common/settings_common.cpp index 137b65d5f..5960b78aa 100644 --- a/src/common/settings_common.cpp +++ b/src/common/settings_common.cpp @@ -14,6 +14,7 @@ BasicSetting::BasicSetting(Linkage& linkage, const std::string& name, enum Categ : label{name}, category{category_}, id{linkage.count}, save{save_}, runtime_modifiable{runtime_modifiable_}, specialization{specialization_}, other_setting{other_setting_} { + linkage.by_key.insert({name, this}); linkage.by_category[category].push_back(this); linkage.count++; } |