From dbb9acc577338adfd35288c5e2d4621a8d8d278e Mon Sep 17 00:00:00 2001 From: Xpl0itR Date: Thu, 30 May 2019 10:40:12 +0100 Subject: [PATCH] some more minor changes "EnablePressence" changed to "EnableDiscordIntergration" and "EnableRichPressence" changed to "DiscordIntergrationEnabled" --- Ryujinx.HLE/HOS/SystemState/SystemStateMgr.cs | 2 +- Ryujinx/Configuration.cs | 4 ++-- Ryujinx/Program.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Ryujinx.HLE/HOS/SystemState/SystemStateMgr.cs b/Ryujinx.HLE/HOS/SystemState/SystemStateMgr.cs index 6e8605ae7b..436897edba 100644 --- a/Ryujinx.HLE/HOS/SystemState/SystemStateMgr.cs +++ b/Ryujinx.HLE/HOS/SystemState/SystemStateMgr.cs @@ -42,7 +42,7 @@ namespace Ryujinx.HLE.HOS.SystemState internal string ActiveAudioOutput { get; private set; } - public bool EnableRichPresence { get; set; } + public bool DiscordIntergrationEnabled { get; set; } public bool DockedMode { get; set; } diff --git a/Ryujinx/Configuration.cs b/Ryujinx/Configuration.cs index 4cd6ffd135..4c05bfe63d 100644 --- a/Ryujinx/Configuration.cs +++ b/Ryujinx/Configuration.cs @@ -75,7 +75,7 @@ namespace Ryujinx /// /// Enables or disables Discord Rich Presense /// - public bool EnablePresence { get; private set; } + public bool EnableDiscordIntergration { get; private set; } /// /// Enables or disables Vertical Sync @@ -198,7 +198,7 @@ namespace Ryujinx } } - device.System.State.EnableRichPresence = Instance.EnablePresence; + device.System.State.DiscordIntergrationEnabled = Instance.EnableDiscordIntergration; device.EnableDeviceVsync = Instance.EnableVsync; diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index 7aa83b2ce5..ad5713ca04 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -34,7 +34,7 @@ namespace Ryujinx AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; AppDomain.CurrentDomain.ProcessExit += CurrentDomain_ProcessExit; - if (device.System.State.EnableRichPresence == true) + if (device.System.State.DiscordIntergrationEnabled == true) { DiscordClient = new DiscordRpcClient("568815339807309834"); DiscordPresence = new RichPresence @@ -105,7 +105,7 @@ namespace Ryujinx Logger.PrintWarning(LogClass.Application, "Please specify the folder with the NSOs/IStorage or a NSO/NRO."); } - if (device.System.State.EnableRichPresence == true) + if (device.System.State.DiscordIntergrationEnabled == true) { if (File.ReadAllLines(Path.Combine(ApplicationDirectory, "RPsupported.dat")).Contains(device.System.TitleID)) {