mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-18 11:30:59 +01:00
Revert "fix discord rpc"
This commit is contained in:
parent
ad43131df5
commit
4a66295a6d
2 changed files with 2 additions and 4 deletions
|
@ -44,7 +44,7 @@ option(SUYU_USE_QT_WEB_ENGINE "Use QtWebEngine for web applet implementation" OF
|
||||||
|
|
||||||
option(ENABLE_CUBEB "Enables the cubeb audio backend" ON)
|
option(ENABLE_CUBEB "Enables the cubeb audio backend" ON)
|
||||||
|
|
||||||
option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" ON)
|
option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF)
|
||||||
|
|
||||||
option(SUYU_TESTS "Compile tests" "${BUILD_TESTING}")
|
option(SUYU_TESTS "Compile tests" "${BUILD_TESTING}")
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
// SPDX-FileCopyrightText: 2018 Citra Emulator Project & 2024 suyu Emulator Project
|
// SPDX-FileCopyrightText: 2018 Citra Emulator Project & 2024 suyu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
// Modified by AdyaGMD on <2024/03/09>
|
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -26,7 +24,7 @@ DiscordImpl::DiscordImpl(Core::System& system_) : system{system_} {
|
||||||
DiscordEventHandlers handlers{};
|
DiscordEventHandlers handlers{};
|
||||||
// The number is the client ID for suyu, it's used for images and the
|
// The number is the client ID for suyu, it's used for images and the
|
||||||
// application name
|
// application name
|
||||||
Discord_Initialize("1216044747781570671", &handlers, 1, nullptr);
|
Discord_Initialize("712465656758665259", &handlers, 1, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
DiscordImpl::~DiscordImpl() {
|
DiscordImpl::~DiscordImpl() {
|
||||||
|
|
Loading…
Reference in a new issue