From d7264eddfec3dd73dc18e49e70430057dcf9cd21 Mon Sep 17 00:00:00 2001 From: Xpl0itR Date: Thu, 30 May 2019 15:09:00 +0100 Subject: [PATCH] Fixed issue where i forgot to update the setting name and edit schema --- Ryujinx/Config.jsonc | 2 +- Ryujinx/Program.cs | 1 + Ryujinx/_schema.json | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Ryujinx/Config.jsonc b/Ryujinx/Config.jsonc index 0e2000da56..6ddc2ec989 100644 --- a/Ryujinx/Config.jsonc +++ b/Ryujinx/Config.jsonc @@ -33,7 +33,7 @@ "docked_mode": false, // Enable or disable Discord Rich Presense - "enable_presence": true, + "enable_discord_intergration": true, // Enable or disable Game Vsync "enable_vsync": true, diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index ad5713ca04..69646f2a29 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -111,6 +111,7 @@ namespace Ryujinx { DiscordPresence.Assets.LargeImageKey = device.System.TitleID; } + DiscordPresence.Details = $"Playing {device.System.TitleName}"; DiscordPresence.State = device.System.TitleID.ToUpper(); DiscordPresence.Assets.LargeImageText = device.System.TitleName; diff --git a/Ryujinx/_schema.json b/Ryujinx/_schema.json index 11eff12b08..6f0bb3f30f 100644 --- a/Ryujinx/_schema.json +++ b/Ryujinx/_schema.json @@ -367,6 +367,17 @@ false ] }, + "enable_discord_intergration": { + "$id": "#/properties/enable_discord_intergration", + "type": "boolean", + "title": "Enable Discord Rich Presense", + "description": "Enable or disable Discord Rich Presense", + "default": true, + "examples": [ + true, + false + ] + }, "enable_vsync": { "$id": "#/properties/enable_vsync", "type": "boolean",