mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 05:45:49 +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 ||
|
var shouldSelect = !currentlySelected.HasValue ||
|
||||||
currentlySelected.Value.TitleUpdate.Version < update.Version;
|
currentlySelected.Value.TitleUpdate.Version < update.Version;
|
||||||
_titleUpdates.AddOrUpdate((update, shouldSelect));
|
_titleUpdates.AddOrUpdate((update, shouldSelect));
|
||||||
|
|
||||||
|
if (currentlySelected.HasValue && shouldSelect)
|
||||||
|
_titleUpdates.AddOrUpdate((currentlySelected.Value.TitleUpdate, false));
|
||||||
|
|
||||||
SaveTitleUpdatesForGame(update.TitleIdBase);
|
SaveTitleUpdatesForGame(update.TitleIdBase);
|
||||||
numUpdatesLoaded++;
|
numUpdatesLoaded++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue