1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.HLE/HOS/Services
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
..
Account account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
Am account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
Apm services: add "apm:p" (#1854) 2021-01-02 16:11:38 +01:00
Arp account: Services Refactoring (#1833) 2021-01-02 23:34:28 +01:00
Audio Haydn: Part 1 (#2007) 2021-02-26 01:11:56 +01:00
Bcat Rewrite size for fixed size buffers (#1808) 2020-12-12 14:06:20 +11:00
Bgtc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Bluetooth bluetooth: Fix event handle in IBluetoothDriver (#1464) 2020-08-13 01:04:59 +02:00
BluetoothManager Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Caps caps: Implement SaveScreenShot calls and cleanup (#2140) 2021-03-26 01:16:08 +01:00
Cec Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ectx am/ectx: Implement SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled and add service placeholder (#2136) 2021-03-25 23:25:49 +01:00
Erpt Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Es Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Eupld Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Fatal Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Friend account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
Fs Allow modding AddOnContent RomFS (#2024) 2021-02-20 01:25:01 +01:00
Grc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Hid Update missing sample timestamp in DebugPad (#1873) 2021-01-07 19:43:33 +01:00
Ins Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Lbl am/lbl/hid/pctl: Enabled VR Rendering (#1688) 2020-11-15 22:30:20 +01:00
Ldn Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Lm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Loader Add various error codes to Loader (#1208) 2020-05-04 13:22:28 +02:00
Mig Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Mii account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
Mm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Ncm Add various error codes to NCM LR (#1225) 2020-05-08 16:06:32 +02:00
News Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nfc nfp: Amiibo scanning support (#2006) 2021-03-18 21:40:20 +01:00
Ngct ngct: Fix services and stub calls (#1756) 2020-12-10 03:08:28 +01:00
Nifm nifm/ssl: Implement GetCurrentNetworkProfile and stub Ssl Service (#2186) 2021-04-13 03:04:18 +02:00
Nim nim: Implement IsLargeResourceAvailable (#1821) 2020-12-17 05:19:28 +01:00
Notification Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Npns Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ns IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Nv Fix remap when handle is 0 (#1882) 2021-01-10 10:11:31 +11:00
Olsc olsc: Add service olsc:u and stub some calls (#1734) 2020-11-20 09:56:23 +11:00
Ovln Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pcie Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pctl pctl: Stub IsFreeCommunicationAvailable (#1893) 2021-01-10 21:26:59 +01:00
Pcv Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pm Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Prepo prepo: Implement GetSystemSessionId and add perms (#2014) 2021-02-11 20:24:54 +01:00
Psc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ptm Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
Ro Correct type of executable sizes (#1802) 2020-12-13 08:30:27 +01:00
Sdb account: Adds AccountManager (#2184) 2021-04-13 03:16:43 +02:00
Settings settings: Fix returned buffer size of GetFirmwareVersion (#2029) 2021-02-17 21:10:53 +01:00
Sm IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
Sockets nifm/ssl: Implement GetCurrentNetworkProfile and stub Ssl Service (#2186) 2021-04-13 03:04:18 +02:00
Spl Implement a new physical memory manager and replace DeviceMemory (#856) 2020-05-04 08:54:50 +10:00
Srepo Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ssl nifm/ssl: Implement GetCurrentNetworkProfile and stub Ssl Service (#2186) 2021-04-13 03:04:18 +02:00
SurfaceFlinger Surface Flinger: Fix an oversight when closing a layer (#2192) 2021-04-13 02:56:16 +02:00
Time Fix SetStandardSteadyClockInternalOffset permission check (#2076) 2021-03-04 11:58:21 +01:00
Usb Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Vi Surface Flinger: Fix an oversight when closing a layer (#2192) 2021-04-13 02:56:16 +02:00
Wlan Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
CommandAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
DummyService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IpcService.cs IPC: Remove IIpcService interface (#2121) 2021-03-19 00:31:08 +01:00
ServerBase.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
ServiceAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00
ServiceConfiguration.cs IPC services refactoring (#726) 2019-07-10 12:59:54 -03:00