UI: Added the ability to view Compat information on right click, and on clicking the status itself like the title ID button.

This commit is contained in:
Evan Husted 2025-02-04 15:51:27 -06:00
parent 566f3d079a
commit df9e6e4812
11 changed files with 141 additions and 25 deletions

View file

@ -135,6 +135,14 @@ namespace Ryujinx.Ava.Utilities.AppLibrary
return id.ToString("X16");
}
public bool FindApplication(ulong id, out ApplicationData foundData)
{
DynamicData.Kernel.Optional<ApplicationData> appData = Applications.Lookup(id);
foundData = appData.HasValue ? appData.Value : null;
return appData.HasValue;
}
/// <exception cref="LibHac.Common.Keys.MissingKeyException">The configured key set is missing a key.</exception>
/// <exception cref="InvalidDataException">The NCA header could not be decrypted.</exception>
/// <exception cref="NotSupportedException">The NCA version is not supported.</exception>