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) if (appData.HasValue)
return appData.Value.Name; return appData.Value.Name;
Gommon.Optional<DownloadableContentModel> dlcData = DownloadableContents.Keys.FindFirst(x => x.TitleId == id); if (DownloadableContents.Keys.FindFirst(x => x.TitleId == id).TryGet(out DownloadableContentModel dlcData))
if (dlcData.HasValue) return dlcData.FileName;
return dlcData.Value.FileName;
return id.ToString("X16"); return id.ToString("X16");
} }