mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-21 19:36:34 +01:00
Small enhancement
This commit is contained in:
parent
ca428098ff
commit
19e44ecf70
1 changed files with 2 additions and 2 deletions
|
@ -86,12 +86,12 @@ namespace Ryujinx.HLE.Loaders.Processes
|
|||
|
||||
bool isGame = ProgramId > 0x0100000000007FFF;
|
||||
|
||||
string name = isGame
|
||||
string name = isGame || !string.IsNullOrWhiteSpace(Name)
|
||||
? Name
|
||||
: "Firmware";
|
||||
|
||||
// TODO: LibHac npdm currently doesn't support version field.
|
||||
string version = isGame
|
||||
string version = isGame || !string.IsNullOrWhiteSpace(DisplayVersion)
|
||||
? DisplayVersion
|
||||
: device.System.ContentManager.GetCurrentFirmwareVersion()?.VersionString ?? "?";
|
||||
|
||||
|
|
Loading…
Reference in a new issue