mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-08-29 15:26:26 -05:00
Add Discord Rich Presence (#681)
This commit is contained in:
@@ -72,6 +72,11 @@ namespace Ryujinx
|
||||
/// </summary>
|
||||
public bool DockedMode { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Enables or disables Discord Rich Presense
|
||||
/// </summary>
|
||||
public bool EnableDiscordIntergration { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Enables or disables Vertical Sync
|
||||
/// </summary>
|
||||
@@ -198,6 +203,8 @@ namespace Ryujinx
|
||||
}
|
||||
}
|
||||
|
||||
device.System.State.DiscordIntergrationEnabled = Instance.EnableDiscordIntergration;
|
||||
|
||||
device.EnableDeviceVsync = Instance.EnableVsync;
|
||||
|
||||
device.System.State.DockedMode = Instance.DockedMode;
|
||||
|
Reference in New Issue
Block a user