Răsfoiți Sursa

Log .NET runtime version (#552)

I was looking into a crash, and found out it was an issue that was fixed
in .NET 9.0.1. Since Ryujinx embeds the runtime into the executable, it
not obvious which runtime a build uses. This logs the .NET runtime
version immediately after the build version.
Matt Zinkevicius 1 an în urmă
părinte
comite
ad3e80b383
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      src/Ryujinx/Program.cs

+ 1 - 0
src/Ryujinx/Program.cs

@@ -230,6 +230,7 @@ namespace Ryujinx.Ava
         internal static void PrintSystemInfo()
         {
             Logger.Notice.Print(LogClass.Application, $"{RyujinxApp.FullAppName} Version: {Version}");
+            Logger.Notice.Print(LogClass.Application, $".NET Runtime: {RuntimeInformation.FrameworkDescription}");
             SystemInfo.Gather().Print();
 
             var enabledLogLevels = Logger.GetEnabledLevels().ToArray();