discord_impl: Update the client ID (#5449)

THis should hopefully fix Rich Presence for CItra.
This commit is contained in:
Tobias 2020-07-08 23:45:54 +02:00 committed by GitHub
parent f4e727cc19
commit 96fa75fb93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ DiscordImpl::DiscordImpl() {
// The number is the client ID for Citra, it's used for images and the // The number is the client ID for Citra, it's used for images and the
// application name // application name
Discord_Initialize("461729900748079114", &handlers, 1, nullptr); Discord_Initialize("719647875465871400", &handlers, 1, nullptr);
} }
DiscordImpl::~DiscordImpl() { DiscordImpl::~DiscordImpl() {
@ -37,7 +37,7 @@ void DiscordImpl::Update() {
if (Core::System::GetInstance().IsPoweredOn()) if (Core::System::GetInstance().IsPoweredOn())
Core::System::GetInstance().GetAppLoader().ReadTitle(title); Core::System::GetInstance().GetAppLoader().ReadTitle(title);
DiscordRichPresence presence{}; DiscordRichPresence presence{};
presence.largeImageKey = "citra_logo"; presence.largeImageKey = "citra";
presence.largeImageText = "Citra is an emulator for the Nintendo 3DS"; presence.largeImageText = "Citra is an emulator for the Nintendo 3DS";
if (Core::System::GetInstance().IsPoweredOn()) { if (Core::System::GetInstance().IsPoweredOn()) {
presence.state = title.c_str(); presence.state = title.c_str();