Open first user after deleting one.

Current behavior opens the DefaultUserId, however with the change to use
a randomly generated ID for the first user there is not a user with that
ID. Instead we open the first user in _profiles.
This commit is contained in:
Diana Atsuko Herring 2024-03-31 00:19:33 -05:00
parent 46ebdcfe03
commit 0ab2c80575
No known key found for this signature in database
GPG Key ID: 401811DABE38E924

View File

@ -187,7 +187,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
_profiles.Remove(userId.ToString(), out _);
OpenUser(DefaultUserId);
OpenUser(new UserId(_profiles.First().Key));
_accountSaveDataManager.Save(_profiles);
}