Small enhancement
This commit is contained in:
parent
16e1265bd2
commit
265c8c4370
@ -86,12 +86,12 @@ namespace Ryujinx.HLE.Loaders.Processes
|
|||||||
|
|
||||||
bool isGame = ProgramId > 0x0100000000007FFF;
|
bool isGame = ProgramId > 0x0100000000007FFF;
|
||||||
|
|
||||||
string name = isGame
|
string name = isGame || !string.IsNullOrWhiteSpace(Name)
|
||||||
? Name
|
? Name
|
||||||
: "Firmware";
|
: "Firmware";
|
||||||
|
|
||||||
// TODO: LibHac npdm currently doesn't support version field.
|
// TODO: LibHac npdm currently doesn't support version field.
|
||||||
string version = isGame
|
string version = isGame || !string.IsNullOrWhiteSpace(DisplayVersion)
|
||||||
? DisplayVersion
|
? DisplayVersion
|
||||||
: device.System.ContentManager.GetCurrentFirmwareVersion()?.VersionString ?? "?";
|
: device.System.ContentManager.GetCurrentFirmwareVersion()?.VersionString ?? "?";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user