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
|
@ -740,9 +740,15 @@ namespace LibRyujinx
|
|||
|
||||
_firmwareVersion = ContentManager.GetCurrentFirmwareVersion();
|
||||
|
||||
|
||||
if (_firmwareVersion != null)
|
||||
{
|
||||
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,
|
||||
bool useNce,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue