mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-23 18:19:21 +01:00
Merge pull request #10 from BlurrySquire/master
Update Discord RPC to use 'Lime' instead of 'Citra'
This commit is contained in:
commit
7e48a47ae4
@ -16,9 +16,9 @@ namespace DiscordRPC {
|
|||||||
DiscordImpl::DiscordImpl(const Core::System& system_) : system{system_} {
|
DiscordImpl::DiscordImpl(const Core::System& system_) : system{system_} {
|
||||||
DiscordEventHandlers handlers{};
|
DiscordEventHandlers handlers{};
|
||||||
|
|
||||||
// The number is the client ID for Citra, it's used for images and the
|
// The number is the client ID for Lime3DS, it's used for images and the
|
||||||
// application name
|
// application name. rustygrape238 on discord is the RPC maintainer.
|
||||||
Discord_Initialize("719647875465871400", &handlers, 1, nullptr);
|
Discord_Initialize("1222229231367487539", &handlers, 1, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
DiscordImpl::~DiscordImpl() {
|
DiscordImpl::~DiscordImpl() {
|
||||||
@ -41,8 +41,8 @@ void DiscordImpl::Update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DiscordRichPresence presence{};
|
DiscordRichPresence presence{};
|
||||||
presence.largeImageKey = "citra";
|
presence.largeImageKey = "large_icon";
|
||||||
presence.largeImageText = "Citra is an emulator for the Nintendo 3DS";
|
presence.largeImageText = "Lime is an emulator for the 3DS!";
|
||||||
if (is_powered_on) {
|
if (is_powered_on) {
|
||||||
presence.state = title.c_str();
|
presence.state = title.c_str();
|
||||||
presence.details = "Currently in game";
|
presence.details = "Currently in game";
|
||||||
|
Loading…
Reference in New Issue
Block a user