From 52338db1e8ee6c8815509454d5a28826d356c65f Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Wed, 29 Jan 2025 18:09:10 -0600 Subject: [PATCH] docs on the new ApplicationLibrary method --- .../Utilities/AppLibrary/ApplicationLibrary.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Ryujinx/Utilities/AppLibrary/ApplicationLibrary.cs b/src/Ryujinx/Utilities/AppLibrary/ApplicationLibrary.cs index 79388958a..272bf7f72 100644 --- a/src/Ryujinx/Utilities/AppLibrary/ApplicationLibrary.cs +++ b/src/Ryujinx/Utilities/AppLibrary/ApplicationLibrary.cs @@ -111,6 +111,18 @@ namespace Ryujinx.Ava.Utilities.AppLibrary return data; } + /// + /// Gets a name for an available content file based on the Application ID ''. + ///

+ /// For Applications, this returns the localized name of the app found in the file. + /// For DLCs, this returns the name of the file that contains the DLC, minus the file extension. + ///
+ /// The Application ID to search for. + /// + /// If the provided Application ID does not have a corresponding Application OR DLC file, + /// formatted as hexadecimal is returned. + /// + /// A formatted Application name, or as hexadecimal if none is found. public string GetNameForApplicationId(ulong id) { DynamicData.Kernel.Optional appData = Applications.Lookup(id);