From 19e44ecf70dbcd112a4b62d898ec60dc6d676ced Mon Sep 17 00:00:00 2001 From: WilliamWsyHK Date: Wed, 4 Dec 2024 00:00:01 +0800 Subject: [PATCH] Small enhancement --- src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs b/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs index ba2abe147..0329f5830 100644 --- a/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs +++ b/src/Ryujinx.HLE/Loaders/Processes/ProcessResult.cs @@ -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 ?? "?";