Fix repeated dialog popup notifying of new updates when there aren't any if you have bundled updates with external updates #30

Merged
amurgshere merged 2 commits from fix-dialog-popup-with-auto-load-enabled-when-using-bundled-updates into master 2024-10-22 04:22:13 +00:00
Showing only changes of commit f3637c5334 - Show all commits

View File

@ -986,6 +986,10 @@ namespace Ryujinx.UI.App.Common
var shouldSelect = !currentlySelected.HasValue ||
currentlySelected.Value.TitleUpdate.Version < update.Version;
_titleUpdates.AddOrUpdate((update, shouldSelect));
if (currentlySelected.HasValue && shouldSelect)
_titleUpdates.AddOrUpdate((currentlySelected.Value.TitleUpdate, false));
SaveTitleUpdatesForGame(update.TitleIdBase);
numUpdatesLoaded++;