Skip to content

Commit

Permalink
Log .NET runtime version (#552)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mattzink authored Jan 21, 2025
1 parent ed64a63 commit ad3e80b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Ryujinx/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ public static void ReloadConfig()
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();
Expand Down

0 comments on commit ad3e80b

Please sign in to comment.