Procházet zdrojové kódy

Logging the current firmware version (#1199)

* Logging the curent firmware version

* fixed an error in cases when firmware is not installed
SeraUX před 6 roky
rodič
revize
8be7335176
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      Ryujinx/Ui/MainWindow.cs

+ 2 - 0
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");