mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
Don’t crash if no firmware is installed
This commit is contained in:
parent
af4f7b9ee7
commit
1a4f506991
1 changed files with 9 additions and 3 deletions
|
@ -739,9 +739,15 @@ namespace LibRyujinx
|
||||||
UserChannelPersistence = new UserChannelPersistence();
|
UserChannelPersistence = new UserChannelPersistence();
|
||||||
|
|
||||||
_firmwareVersion = ContentManager.GetCurrentFirmwareVersion();
|
_firmwareVersion = ContentManager.GetCurrentFirmwareVersion();
|
||||||
|
|
||||||
|
if (_firmwareVersion != null)
|
||||||
Logger.Notice.Print(LogClass.Application, $"System Firmware Version: {_firmwareVersion.VersionString}");
|
{
|
||||||
|
Logger.Notice.Print(LogClass.Application, $"System Firmware Version: {_firmwareVersion.VersionString}");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Logger.Notice.Print(LogClass.Application, $"System Firmware not installed");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool InitializeContext(bool isHostMapped,
|
public bool InitializeContext(bool isHostMapped,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue