mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-29 06:36:24 +02:00
misc: chore: Strip extension in GetNameForApplicationId instead of requiring the caller to do it
This commit is contained in:
parent
9075a3960b
commit
e18c6d90c4
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ namespace Ryujinx.Ava.Utilities.AppLibrary
|
|||
return appData.Value.Name;
|
||||
|
||||
if (DownloadableContents.Keys.FindFirst(x => x.TitleId == id).TryGet(out DownloadableContentModel dlcData))
|
||||
return dlcData.FileName;
|
||||
return Path.GetFileNameWithoutExtension(dlcData.FileName);
|
||||
|
||||
return id.ToString("X16");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue