mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
load firmware version at launch
This commit is contained in:
parent
a48d515620
commit
6e054b1921
1 changed files with 6 additions and 0 deletions
|
@ -628,6 +628,7 @@ namespace LibRyujinx
|
||||||
|
|
||||||
public class SwitchDevice : IDisposable
|
public class SwitchDevice : IDisposable
|
||||||
{
|
{
|
||||||
|
private readonly SystemVersion _firmwareVersion;
|
||||||
public VirtualFileSystem VirtualFileSystem { get; set; }
|
public VirtualFileSystem VirtualFileSystem { get; set; }
|
||||||
public ContentManager ContentManager { get; set; }
|
public ContentManager ContentManager { get; set; }
|
||||||
public AccountManager AccountManager { get; set; }
|
public AccountManager AccountManager { get; set; }
|
||||||
|
@ -658,6 +659,11 @@ namespace LibRyujinx
|
||||||
ContentManager = new ContentManager(VirtualFileSystem);
|
ContentManager = new ContentManager(VirtualFileSystem);
|
||||||
AccountManager = new AccountManager(LibHacHorizonManager.RyujinxClient);
|
AccountManager = new AccountManager(LibHacHorizonManager.RyujinxClient);
|
||||||
UserChannelPersistence = new UserChannelPersistence();
|
UserChannelPersistence = new UserChannelPersistence();
|
||||||
|
|
||||||
|
_firmwareVersion = ContentManager.GetCurrentFirmwareVersion();
|
||||||
|
|
||||||
|
|
||||||
|
Logger.Notice.Print(LogClass.Application, $"System Firmware Version: {_firmwareVersion.VersionString}");
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool InitializeContext(bool isHostMapped,
|
public bool InitializeContext(bool isHostMapped,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue