aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpineappleEA <pineaea@gmail.com>2024-02-11 20:46:35 +0100
committerpineappleEA <pineaea@gmail.com>2024-02-11 20:46:35 +0100
commit9d83e9ad1b1431b81fab4b5bc84d3e9c1462d933 (patch)
treee3265155758e01acd13a724675c0b61c1d9ba0b1
parent53f2e2f45271a551c0e8ee48ce9604580eeab12d (diff)
early-access version 4132EA-4132
-rwxr-xr-xREADME.md2
-rwxr-xr-xsrc/frontend_common/config.cpp10
2 files changed, 3 insertions, 9 deletions
diff --git a/README.md b/README.md
index c3593199b..5bb2c9dd8 100755
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
1yuzu emulator early access 1yuzu emulator early access
2============= 2=============
3 3
4This is the source code for early-access 4131. 4This is the source code for early-access 4132.
5 5
6## Legal Notice 6## Legal Notice
7 7
diff --git a/src/frontend_common/config.cpp b/src/frontend_common/config.cpp
index cbbb07ac7..2bebfeef9 100755
--- a/src/frontend_common/config.cpp
+++ b/src/frontend_common/config.cpp
@@ -885,15 +885,9 @@ void Config::Reload() {
885} 885}
886 886
887void Config::ClearControlPlayerValues() const { 887void Config::ClearControlPlayerValues() const {
888 // If key is an empty string, all keys in the current group() are removed. 888 // Removes the entire [Controls] section
889 const char* section = Settings::TranslateCategory(Settings::Category::Controls); 889 const char* section = Settings::TranslateCategory(Settings::Category::Controls);
890 CSimpleIniA::TNamesDepend keys; 890 config->Delete(section, nullptr, true);
891 config->GetAllKeys(section, keys);
892 for (const auto& key : keys) {
893 if (std::string(config->GetValue(section, key.pItem)).empty()) {
894 config->Delete(section, key.pItem);
895 }
896 }
897} 891}
898 892
899const std::string& Config::GetConfigFilePath() const { 893const std::string& Config::GetConfigFilePath() const {