mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Default Discord rich presence to off
This commit is contained in:
parent
55d110493a
commit
1f8549045d
@ -209,7 +209,7 @@ static const ConfigSetting generalSettings[] = {
|
||||
ConfigSetting("CheckForNewVersion", &g_Config.bCheckForNewVersion, true, CfgFlag::DEFAULT),
|
||||
ConfigSetting("Language", &g_Config.sLanguageIni, &DefaultLangRegion, CfgFlag::DEFAULT),
|
||||
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("DisableHTTPS", &g_Config.bDisableHTTPS, false, CfgFlag::DONT_SAVE),
|
||||
|
@ -145,7 +145,7 @@ public:
|
||||
|
||||
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
|
||||
int iGPUBackend;
|
||||
|
@ -54,7 +54,7 @@ bool Discord::IsAvailable() {
|
||||
}
|
||||
|
||||
bool Discord::IsEnabled() const {
|
||||
return g_Config.bDiscordPresence;
|
||||
return g_Config.bDiscordRichPresence;
|
||||
}
|
||||
|
||||
void Discord::Init() {
|
||||
|
@ -918,7 +918,7 @@ void GameSettingsScreen::CreateNetworkingSettings(UI::ViewGroup *networkingSetti
|
||||
}
|
||||
|
||||
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")));
|
||||
|
@ -1272,7 +1272,7 @@ void retro_init(void)
|
||||
g_Config.flash0Directory = retro_base_dir / "flash0";
|
||||
g_Config.internalDataDirectory = retro_base_dir;
|
||||
g_Config.bEnableNetworkChat = false;
|
||||
g_Config.bDiscordPresence = false;
|
||||
g_Config.bDiscordRichPresence = false;
|
||||
|
||||
g_VFS.Register("", new DirectoryReader(retro_base_dir));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user