From 8be73351762f44620417b0dbe15129d8c00af6e1 Mon Sep 17 00:00:00 2001 From: SeraUX <62521228+SeraUX@users.noreply.github.com> Date: Tue, 5 May 2020 13:51:04 +0200 Subject: [PATCH] Logging the current firmware version (#1199) * Logging the curent firmware version * fixed an error in cases when firmware is not installed --- Ryujinx/Ui/MainWindow.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index 9c77fddb..caf5d2d0 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -351,6 +351,8 @@ namespace Ryujinx.Ui Graphics.Gpu.GraphicsConfig.MaxAnisotropy = ConfigurationState.Instance.Graphics.MaxAnisotropy; Graphics.Gpu.GraphicsConfig.ShadersDumpPath = ConfigurationState.Instance.Graphics.ShadersDumpPath; + Logger.PrintInfo(LogClass.Application, $"Using Firmware Version: {_contentManager.GetCurrentFirmwareVersion()?.VersionString}"); + if (Directory.Exists(path)) { string[] romFsFiles = Directory.GetFiles(path, "*.istorage");