mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 09:33:06 +00:00
Move s_using_custom_client to DiscordPresence.cpp
Otherwise, files that include the header get warning: ‘Discord::s_using_custom_client’ defined but not used.
This commit is contained in:
parent
b316ce6fdd
commit
8b98dd9be3
@ -24,6 +24,8 @@
|
||||
|
||||
namespace Discord
|
||||
{
|
||||
static bool s_using_custom_client = false;
|
||||
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
namespace
|
||||
{
|
||||
|
@ -27,8 +27,6 @@ enum class SecretType
|
||||
RoomID,
|
||||
};
|
||||
|
||||
static bool s_using_custom_client = false;
|
||||
|
||||
void Init();
|
||||
void InitNetPlayFunctionality(Handler& handler);
|
||||
void CallPendingCallbacks();
|
||||
|
Loading…
x
Reference in New Issue
Block a user