early-access version 4132
This commit is contained in:
parent
53f2e2f452
commit
9d83e9ad1b
2 changed files with 3 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 4131.
|
||||
This is the source code for early-access 4132.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
|
|
@ -885,15 +885,9 @@ void Config::Reload() {
|
|||
}
|
||||
|
||||
void Config::ClearControlPlayerValues() const {
|
||||
// If key is an empty string, all keys in the current group() are removed.
|
||||
// Removes the entire [Controls] section
|
||||
const char* section = Settings::TranslateCategory(Settings::Category::Controls);
|
||||
CSimpleIniA::TNamesDepend keys;
|
||||
config->GetAllKeys(section, keys);
|
||||
for (const auto& key : keys) {
|
||||
if (std::string(config->GetValue(section, key.pItem)).empty()) {
|
||||
config->Delete(section, key.pItem);
|
||||
}
|
||||
}
|
||||
config->Delete(section, nullptr, true);
|
||||
}
|
||||
|
||||
const std::string& Config::GetConfigFilePath() const {
|
||||
|
|
Loading…
Reference in a new issue