Default Discord rich presence to off

This commit is contained in:
Henrik Rydgård 2024-11-02 21:36:30 +01:00
parent 55d110493a
commit 1f8549045d
5 changed files with 5 additions and 5 deletions

View File

@ -209,7 +209,7 @@ static const ConfigSetting generalSettings[] = {
ConfigSetting("CheckForNewVersion", &g_Config.bCheckForNewVersion, true, CfgFlag::DEFAULT), ConfigSetting("CheckForNewVersion", &g_Config.bCheckForNewVersion, true, CfgFlag::DEFAULT),
ConfigSetting("Language", &g_Config.sLanguageIni, &DefaultLangRegion, CfgFlag::DEFAULT), ConfigSetting("Language", &g_Config.sLanguageIni, &DefaultLangRegion, CfgFlag::DEFAULT),
ConfigSetting("ForceLagSync2", &g_Config.bForceLagSync, false, CfgFlag::PER_GAME), ConfigSetting("ForceLagSync2", &g_Config.bForceLagSync, false, CfgFlag::PER_GAME),
ConfigSetting("DiscordPresence", &g_Config.bDiscordPresence, true, CfgFlag::DEFAULT), // Or maybe it makes sense to have it per-game? Race conditions abound... ConfigSetting("DiscordRichPresence", &g_Config.bDiscordRichPresence, false, CfgFlag::DEFAULT),
ConfigSetting("UISound", &g_Config.bUISound, false, CfgFlag::DEFAULT), ConfigSetting("UISound", &g_Config.bUISound, false, CfgFlag::DEFAULT),
ConfigSetting("DisableHTTPS", &g_Config.bDisableHTTPS, false, CfgFlag::DONT_SAVE), ConfigSetting("DisableHTTPS", &g_Config.bDisableHTTPS, false, CfgFlag::DONT_SAVE),

View File

@ -145,7 +145,7 @@ public:
std::string sIgnoreCompatSettings; std::string sIgnoreCompatSettings;
bool bDiscordPresence; // Enables setting the Discord presence to the current game (or menu) bool bDiscordRichPresence; // Enables setting the Discord presence to the current game (or menu)
// GFX // GFX
int iGPUBackend; int iGPUBackend;

View File

@ -54,7 +54,7 @@ bool Discord::IsAvailable() {
} }
bool Discord::IsEnabled() const { bool Discord::IsEnabled() const {
return g_Config.bDiscordPresence; return g_Config.bDiscordRichPresence;
} }
void Discord::Init() { void Discord::Init() {

View File

@ -918,7 +918,7 @@ void GameSettingsScreen::CreateNetworkingSettings(UI::ViewGroup *networkingSetti
} }
if (Discord::IsAvailable()) { if (Discord::IsAvailable()) {
networkingSettings->Add(new CheckBox(&g_Config.bDiscordPresence, n->T("Send Discord Presence information"))); networkingSettings->Add(new CheckBox(&g_Config.bDiscordRichPresence, n->T("Send Discord Presence information")));
} }
networkingSettings->Add(new ItemHeader(n->T("AdHoc Server"))); networkingSettings->Add(new ItemHeader(n->T("AdHoc Server")));

View File

@ -1272,7 +1272,7 @@ void retro_init(void)
g_Config.flash0Directory = retro_base_dir / "flash0"; g_Config.flash0Directory = retro_base_dir / "flash0";
g_Config.internalDataDirectory = retro_base_dir; g_Config.internalDataDirectory = retro_base_dir;
g_Config.bEnableNetworkChat = false; g_Config.bEnableNetworkChat = false;
g_Config.bDiscordPresence = false; g_Config.bDiscordRichPresence = false;
g_VFS.Register("", new DirectoryReader(retro_base_dir)); g_VFS.Register("", new DirectoryReader(retro_base_dir));