mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Add option to disable networking, tries to replicate the old error codes.
Please test if disabling this option "fixes" any games that broke with the adhoc merge.
This commit is contained in:
1 parent
ce1693d7f9
commit
60ed75f68a
5 files changed
+127
-20
No files matched your search
@@ -310,6 +310,9 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
fAnalogStickX /= dp_xres;
|
||||
fAnalogStickY /= dp_yres;
|
||||
}
|
||||
|
||||
IniFile::Section *network = iniFile.GetOrCreateSection("Network");
|
||||
network->Get("EnableWlan", &bEnableWlan, true);
|
||||
|
||||
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
|
||||
#ifndef ANDROID
|
||||
@@ -546,6 +549,9 @@ void Config::Save() {
|
||||
control->Set("AnalogStickY", fAnalogStickY);
|
||||
control->Set("AnalogStickScale", fAnalogStickScale);
|
||||
|
||||
IniFile::Section *network = iniFile.GetOrCreateSection("Network");
|
||||
network->Set("EnableWlan", &bEnableWlan, true);
|
||||
|
||||
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
|
||||
pspConfig->Set("PSPModel", iPSPModel);
|
||||
pspConfig->Set("NickName", sNickName.c_str());
|
||||
|
||||
Reference in new issue
Block a user