Update discord rich presence to use Azahar application (#589)

This commit is contained in:
PabloMK7 2025-03-01 13:50:35 +01:00 committed by GitHub
parent d6745a95e3
commit 99c211d7f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
// Copyright 2018 Citra Emulator Project
// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
@ -18,7 +18,7 @@ DiscordImpl::DiscordImpl(const Core::System& system_) : system{system_} {
// The number is the client ID for Citra, it's used for images and the
// application name
Discord_Initialize("719647875465871400", &handlers, 1, nullptr);
Discord_Initialize("1345366770436800533", &handlers, 1, nullptr);
}
DiscordImpl::~DiscordImpl() {
@ -41,8 +41,8 @@ void DiscordImpl::Update() {
}
DiscordRichPresence presence{};
presence.largeImageKey = "citra";
presence.largeImageText = "Azahar is an emulator for the Nintendo 3DS";
presence.largeImageKey = "logo";
presence.largeImageText = "An open source emulator for the Nintendo 3DS";
if (is_powered_on) {
presence.state = title.c_str();
presence.details = "Currently in game";