UI: Pretty Atmosphère mod names #601

Merged
GreemDev merged 3 commits from feature/ava/ams-mod-pretty-name into master 2025-01-30 23:41:25 +00:00
Showing only changes of commit d64bf7d93c - Show all commits

View File

@ -129,9 +129,8 @@ namespace Ryujinx.Ava.Utilities.AppLibrary
if (appData.HasValue)
return appData.Value.Name;
Gommon.Optional<DownloadableContentModel> dlcData = DownloadableContents.Keys.FindFirst(x => x.TitleId == id);
if (dlcData.HasValue)
return dlcData.Value.FileName;
if (DownloadableContents.Keys.FindFirst(x => x.TitleId == id).TryGet(out DownloadableContentModel dlcData))
return dlcData.FileName;
return id.ToString("X16");
}