mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-09 14:13:34 +02:00
Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed.
This commit is contained in:
+2
-2
@@ -916,7 +916,7 @@ void LoadFromIni(IniFile &file) {
|
||||
return;
|
||||
}
|
||||
|
||||
IniFile::Section *controls = file.GetOrCreateSection("ControlMapping");
|
||||
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, "");
|
||||
@@ -943,7 +943,7 @@ void LoadFromIni(IniFile &file) {
|
||||
}
|
||||
|
||||
void SaveToIni(IniFile &file) {
|
||||
IniFile::Section *controls = file.GetOrCreateSection("ControlMapping");
|
||||
Section *controls = file.GetOrCreateSection("ControlMapping");
|
||||
|
||||
for (size_t i = 0; i < ARRAY_SIZE(psp_button_names); i++) {
|
||||
std::vector<KeyDef> keys;
|
||||
|
||||
Reference in New Issue
Block a user