some more minor changes

"EnablePressence" changed to "EnableDiscordIntergration" and "EnableRichPressence" changed to "DiscordIntergrationEnabled"
This commit is contained in:
Xpl0itR 2019-05-30 10:40:12 +01:00
parent 551b721003
commit dbb9acc577
No known key found for this signature in database
GPG key ID: F1449C7621466489
3 changed files with 5 additions and 5 deletions

View file

@ -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; }

View file

@ -75,7 +75,7 @@ namespace Ryujinx
/// <summary>
/// Enables or disables Discord Rich Presense
/// </summary>
public bool EnablePresence { get; private set; }
public bool EnableDiscordIntergration { get; private set; }
/// <summary>
/// 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;

View file

@ -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))
{