0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-24 02:45:48 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Account/Acc
Ac_K 7344dee475
account: Adds AccountManager (#2184)
* account: Adds Account Manager

In a way to have Custom User Profiles merged in master faster, this PR adds a `AccountManager` class (based on `AccountUtils` class) and the following changes have been made:
- Adds a "default profile values" which were the old hardcoded ones.
- The image profile is moved to the Account service folder.
- The hardcoded UserId for the savedata is now using the `AccountManager` last opened one.
- The DeviceId in Mii service is changed to the right value (checked by REd sys:set call).

* Fix csproj

* Addresses gdkchan's comments

* Fix UserProfile fields

* Fix mii GetDeviceId()

* Update Ryujinx.HLE.csproj
2021-04-13 03:16:43 +02:00
..
AccountService account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
AsyncContext account: Implement IManagerForApplication calls and IAsyncContext (#1466) 2020-08-18 21:24:54 +02:00
Types account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
AccountManager.cs account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
ApplicationServiceServer.cs account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
DefaultUserImage.jpg account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
IAccountServiceForAdministrator.cs account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
IAccountServiceForApplication.cs account: Services Refactoring (#1833) 2021-01-02 23:34:28 +01:00
IAccountServiceForSystemService.cs account: Services Refactoring (#1833) 2021-01-02 23:34:28 +01:00
IAsyncContext.cs account: Implement IManagerForApplication calls and IAsyncContext (#1466) 2020-08-18 21:24:54 +02:00
IBaasAccessTokenAccessor.cs account: Services Refactoring (#1833) 2021-01-02 23:34:28 +01:00