mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-22 03:46:39 +01:00
Ensure we unselect the previously selected update when auto selcting a new update (#30)
This commit is contained in:
parent
f76a97c976
commit
dc3267f152
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