mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 06:17:10 +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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue