Add Discord Rich Presence (#681)
This commit is contained in:
parent
29a9c5f0b8
commit
e7be60b6c6
8 changed files with 124 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue