misc: chore: Strip extension in GetNameForApplicationId instead of requiring the caller to do it

This commit is contained in:
Evan Husted 2025-01-30 20:22:11 -06:00
parent 9075a3960b
commit e18c6d90c4
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ namespace Ryujinx.Ava.UI.Models
public string FormattedName =>
InSd && ulong.TryParse(Name, NumberStyles.HexNumber, null, out ulong applicationId)
? $"Atmosphère: {System.IO.Path.GetFileNameWithoutExtension(RyujinxApp.MainWindow.ApplicationLibrary.GetNameForApplicationId(applicationId))}"
? $"Atmosphère: {RyujinxApp.MainWindow.ApplicationLibrary.GetNameForApplicationId(applicationId)}"
: Name;
public ModModel(string path, string name, bool enabled, bool inSd)