1
1
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:
Xpl0itR
2019-05-30 21:27:43 +01:00
committed by emmauss
parent 29a9c5f0b8
commit e7be60b6c6
8 changed files with 124 additions and 8 deletions

View File

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