aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.UI.Common/App/ApplicationData.cs
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2024-07-21 19:42:23 +0200
committerGitHub <noreply@github.com>2024-07-21 14:42:23 -0300
commitadd681144bd1ab8eb5094f38ec71292a33958aff (patch)
treeb4324ac16e1f78ba8d3c6901ce689740c42b4e97 /src/Ryujinx.UI.Common/App/ApplicationData.cs
parentc6dc00815aa15ef95671f19b6fecc3ecc1c84c4c (diff)
Fix checking for the wrong metadata files for applications launched with a different program index (#7055)
* Fix checking for the wrong update metadata file * Apply the same fix for dlc.json * Use the base application ids for updates and DLCs in the GUI too This shouldn't actually change anything, since the program index part of the application id should always be 0 for all applications currently seen by the GUI. This was just done for completeness.
Diffstat (limited to 'src/Ryujinx.UI.Common/App/ApplicationData.cs')
-rw-r--r--src/Ryujinx.UI.Common/App/ApplicationData.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Ryujinx.UI.Common/App/ApplicationData.cs b/src/Ryujinx.UI.Common/App/ApplicationData.cs
index 7108defc..08bd2677 100644
--- a/src/Ryujinx.UI.Common/App/ApplicationData.cs
+++ b/src/Ryujinx.UI.Common/App/ApplicationData.cs
@@ -42,6 +42,8 @@ namespace Ryujinx.UI.App.Common
[JsonIgnore] public ulong IdBase => Id & ~0x1FFFUL;
+ [JsonIgnore] public string IdBaseString => IdBase.ToString("x16");
+
public static string GetBuildId(VirtualFileSystem virtualFileSystem, IntegrityCheckLevel checkLevel, string titleFilePath)
{
using FileStream file = new(titleFilePath, FileMode.Open, FileAccess.Read);