mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-12-20 08:54:06 +00:00
small simplification
This commit is contained in:
parent
52338db1e8
commit
d64bf7d93c
1 changed files with 3 additions and 4 deletions
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue