some more minor changes
"EnablePressence" changed to "EnableDiscordIntergration" and "EnableRichPressence" changed to "DiscordIntergrationEnabled"
This commit is contained in:
parent
551b721003
commit
dbb9acc577
3 changed files with 5 additions and 5 deletions
|
@ -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; }
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue