forked from MeloNX/MeloNX
Don’t crash if no firmware is installed
This commit is contained in:
parent
7a07575740
commit
b6b4b0cfb9
@ -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…
x
Reference in New Issue
Block a user