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

@ -183,6 +183,7 @@ static const ConfigSetting generalSettings[] = {
ConfigSetting("DiscordPresence", &g_Config.bDiscordPresence, true, CfgFlag::DEFAULT), // Or maybe it makes sense to have it per-game? Race conditions abound...
ConfigSetting("UISound", &g_Config.bUISound, false, CfgFlag::DEFAULT),
ConfigSetting("DisableHTTPS", &g_Config.bDisableHTTPS, false, CfgFlag::DONT_SAVE),
ConfigSetting("AutoLoadSaveState", &g_Config.iAutoLoadSaveState, 0, CfgFlag::PER_GAME),
ConfigSetting("EnableCheats", &g_Config.bEnableCheats, false, CfgFlag::PER_GAME | CfgFlag::REPORT),
ConfigSetting("CwCheatRefreshRate", &g_Config.iCwCheatRefreshRate, 77, CfgFlag::PER_GAME),