Clear controller mapping sections in the ini to prevent them from growing out of control heh

This commit is contained in:
Henrik Rydgard 2013-07-06 21:30:27 +02:00
parent 9d2e8b1799
commit a793688005
2 changed files with 2 additions and 1 deletions

View file

@ -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];

2
native

@ -1 +1 @@
Subproject commit cae8c040031dd53f20929ad65951a823868ed800
Subproject commit 585081e1c0651c782411212464571691503239bd