mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 00:05:44 +00:00
Fix repeated dialog popup notifying of new updates when there aren't any if you have bundled updates with external updates
This commit is contained in:
parent
06f9adfa90
commit
57d8f5b4b5
1 changed files with 4 additions and 0 deletions
|
@ -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++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue