Explorar el Código

UI: oops, forgot that file

Evan Husted hace 1 año
padre
commit
602251be51
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/Ryujinx/Program.cs

+ 4 - 0
src/Ryujinx/Program.cs

@@ -1,5 +1,6 @@
 using Avalonia;
 using Avalonia.Threading;
+using DiscordRPC;
 using Ryujinx.Ava.UI.Helpers;
 using Ryujinx.Ava.UI.Windows;
 using Ryujinx.Common;
@@ -78,6 +79,9 @@ namespace Ryujinx.Ava
 
         private static void Initialize(string[] args)
         {
+            // Ensure Discord presence timestamp begins at the absolute start of when Ryujinx is launched
+            DiscordIntegrationModule.StartedAt = Timestamps.Now;
+            
             // Parse arguments
             CommandLineState.ParseArguments(args);