mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Change how defaults work in the inifile reader (more flexible this way)
This commit is contained in:
1 parent
c98b7591d3
commit
14ddad5ce3
14 files changed
+269
-184
No files matched your search
+1
-1
@@ -761,7 +761,7 @@ void LoadFromIni(IniFile &file) {
|
||||
Section *controls = file.GetOrCreateSection("ControlMapping");
|
||||
for (size_t i = 0; i < ARRAY_SIZE(psp_button_names); i++) {
|
||||
std::string value;
|
||||
controls->Get(psp_button_names[i].name, &value, "");
|
||||
controls->Get(psp_button_names[i].name, &value);
|
||||
|
||||
// Erase default mapping
|
||||
g_controllerMap.erase(psp_button_names[i].key);
|
||||
|
||||
Reference in new issue
Block a user