Allow disabling HTTPS through the config file

Simply set:

```ini
[General]
DisableHTTPS = True
```

Added to help debug issue #17969
This commit is contained in:
Henrik Rydgård 2023-08-24 21:28:30 +02:00
parent b3fafb5fa8
commit dfe187df1e
6 changed files with 11 additions and 8 deletions

View file

@ -573,7 +573,7 @@ bool System_GetPropertyBool(SystemProperty prop) {
return true; // FileUtil.cpp: OpenFileInEditor
#ifndef HTTPS_NOT_AVAILABLE
case SYSPROP_SUPPORTS_HTTPS:
return true;
return !g_Config.bDisableHTTPS;
#endif
#if PPSSPP_PLATFORM(MAC)
case SYSPROP_HAS_FOLDER_BROWSER: