forked from MeloNX/MeloNX
Don’t crash if no firmware is installed
This commit is contained in:
parent
7a07575740
commit
b6b4b0cfb9
@ -740,8 +740,14 @@ namespace LibRyujinx
|
||||
|
||||
_firmwareVersion = ContentManager.GetCurrentFirmwareVersion();
|
||||
|
||||
|
||||
Logger.Notice.Print(LogClass.Application, $"System Firmware Version: {_firmwareVersion.VersionString}");
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user