mirror of https://github.com/cemu-project/Cemu.git
Fix compilation error when ENABLE_DISCORD_RPC is not set
This commit is contained in:
parent
b87465fd8a
commit
43c9a4eccd
|
@ -334,8 +334,8 @@ MainWindow::MainWindow()
|
||||||
|
|
||||||
LoadSettings();
|
LoadSettings();
|
||||||
|
|
||||||
#ifdef ENABLE_DISCORD_RPC
|
|
||||||
auto& config = GetConfig();
|
auto& config = GetConfig();
|
||||||
|
#ifdef ENABLE_DISCORD_RPC
|
||||||
if (config.use_discord_presence)
|
if (config.use_discord_presence)
|
||||||
m_discord = std::make_unique<DiscordPresence>();
|
m_discord = std::make_unique<DiscordPresence>();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue