From 34e52880dae99873eff80e55a98316088f42e02a Mon Sep 17 00:00:00 2001
From: Emmanuel Hansen <emmausssss@gmail.com>
Date: Sat, 21 Oct 2023 12:49:46 +0000
Subject: [PATCH] load firmware version at launch

---
 src/LibRyujinx/LibRyujinx.cs | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/LibRyujinx/LibRyujinx.cs b/src/LibRyujinx/LibRyujinx.cs
index 495613573..359b4e395 100644
--- a/src/LibRyujinx/LibRyujinx.cs
+++ b/src/LibRyujinx/LibRyujinx.cs
@@ -628,6 +628,7 @@ namespace LibRyujinx
 
     public class SwitchDevice : IDisposable
     {
+        private readonly SystemVersion _firmwareVersion;
         public VirtualFileSystem VirtualFileSystem { get; set; }
         public ContentManager ContentManager { get; set; }
         public AccountManager AccountManager { get; set; }
@@ -658,6 +659,11 @@ namespace LibRyujinx
             ContentManager = new ContentManager(VirtualFileSystem);
             AccountManager = new AccountManager(LibHacHorizonManager.RyujinxClient);
             UserChannelPersistence = new UserChannelPersistence();
+
+            _firmwareVersion = ContentManager.GetCurrentFirmwareVersion();
+            
+            
+            Logger.Notice.Print(LogClass.Application, $"System Firmware Version: {_firmwareVersion.VersionString}");
         }
 
         public bool InitializeContext(bool isHostMapped,