mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Clear controller mapping sections in the ini to prevent them from growing out of control heh
This commit is contained in:
1 parent
9d2e8b1799
commit
a793688005
2 files changed
+2
-1
No files matched your search
@@ -456,6 +456,7 @@ void SaveToIni(IniFile &file) {
|
||||
|
||||
for (auto x = controllerMaps.begin(); x != controllerMaps.end(); ++x) {
|
||||
IniFile::Section *map = file.GetOrCreateSection(x->name.c_str());
|
||||
map->Clear();
|
||||
map->Set("Active", x->active);
|
||||
for (auto iter = x->keys.begin(); iter != x->keys.end(); ++iter) {
|
||||
char key[128];
|
||||
|
||||
Reference in new issue
Block a user