mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
Don’t crash if no firmware is installed
This commit is contained in:
parent
7a07575740
commit
b6b4b0cfb9
1 changed files with 9 additions and 3 deletions
|
@ -740,9 +740,15 @@ namespace LibRyujinx
|
||||||
|
|
||||||
_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,
|
||||||
bool useNce,
|
bool useNce,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue