mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
sceNetInet and sceNetResolver support.
Co-authored-by: AdamN <anr2000@gmail.com>
This commit is contained in:
1 parent
a0f3963d76
commit
ee0b0fce6c
24 files changed
+1954
-242
No files matched your search
@@ -1244,6 +1244,10 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
mPostShaderSetting[key] = std::stof(value);
|
||||
}
|
||||
|
||||
const Section *hostOverrideSetting = iniFile.GetOrCreateSection("HostAliases");
|
||||
// TODO: relocate me before PR
|
||||
mHostToAlias = hostOverrideSetting->ToMap();
|
||||
|
||||
// Load post process shader names
|
||||
vPostShaderNames.clear();
|
||||
for (const auto& it : postShaderChain->ToMap()) {
|
||||
@@ -1376,6 +1380,13 @@ bool Config::Save(const char *saveReason) {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: relocate me before PR
|
||||
Section *hostOverrideSetting = iniFile.GetOrCreateSection("HostAliases");
|
||||
hostOverrideSetting->Clear();
|
||||
for (auto& it : mHostToAlias) {
|
||||
hostOverrideSetting->Set(it.first.c_str(), it.second.c_str());
|
||||
}
|
||||
|
||||
Section *control = iniFile.GetOrCreateSection("Control");
|
||||
control->Delete("DPadRadius");
|
||||
|
||||
|
||||
Reference in new issue
Block a user