aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Gtk3/UI/Windows/TitleUpdateWindow.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.Gtk3/UI/Windows/TitleUpdateWindow.cs
parentc6dc00815aa15ef95671f19b6fecc3ecc1c84c4c (diff)
Fix checking for the wrong metadata files for applications launched with a different program index (#7055)1.1.1358
* 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.Gtk3/UI/Windows/TitleUpdateWindow.cs')
-rw-r--r--src/Ryujinx.Gtk3/UI/Windows/TitleUpdateWindow.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Gtk3/UI/Windows/TitleUpdateWindow.cs b/src/Ryujinx.Gtk3/UI/Windows/TitleUpdateWindow.cs
index 3ac972ea..a08f5959 100644
--- a/src/Ryujinx.Gtk3/UI/Windows/TitleUpdateWindow.cs
+++ b/src/Ryujinx.Gtk3/UI/Windows/TitleUpdateWindow.cs
@@ -51,7 +51,7 @@ namespace Ryujinx.UI.Windows
_applicationData = applicationData;
_virtualFileSystem = virtualFileSystem;
- _updateJsonPath = System.IO.Path.Combine(AppDataManager.GamesDirPath, applicationData.IdString, "updates.json");
+ _updateJsonPath = System.IO.Path.Combine(AppDataManager.GamesDirPath, applicationData.IdBaseString, "updates.json");
_radioButtonToPathDictionary = new Dictionary<RadioButton, string>();
try
@@ -67,7 +67,7 @@ namespace Ryujinx.UI.Windows
};
}
- _baseTitleInfoLabel.Text = $"Updates Available for {applicationData.Name} [{applicationData.IdString}]";
+ _baseTitleInfoLabel.Text = $"Updates Available for {applicationData.Name} [{applicationData.IdBaseString}]";
// Try to get updates from PFS first
AddUpdate(_applicationData.Path, true);