mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 06:24:17 +00:00
discord_impl: Update the client ID (#5449)
THis should hopefully fix Rich Presence for CItra.
This commit is contained in:
parent
f4e727cc19
commit
96fa75fb93
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue