mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-25 19:29:09 +01:00
Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed.
This commit is contained in:
1 parent
72d5b29434
commit
5ec2da0f2d
20 files changed
+186
-170
No files matched your search
+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