1
0
forked from MeloNX/MeloNX

Logging the current firmware version (#1199)

* Logging the curent firmware version

* fixed an error in cases when firmware is not installed
This commit is contained in:
SeraUX 2020-05-05 13:51:04 +02:00 committed by GitHub
parent c2990896b9
commit 9d3150e065

View File

@ -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");