sceNetInet and sceNetResolver support.

Co-authored-by: AdamN <anr2000@gmail.com>
This commit is contained in:
White Blood CellandAdamN authored and Henrik Rydgård committed 2025-01-04 17:28:36 +01:00
1 parent a0f3963d76
commit ee0b0fce6c
24 files changed
+1954 -242

No files matched your search

+11
View File
@@ -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");