diff options
| author | Ac_K <Acoustik666@gmail.com> | 2019-06-28 13:08:23 +0200 |
|---|---|---|
| committer | jduncanator <1518948+jduncanator@users.noreply.github.com> | 2019-06-28 21:08:23 +1000 |
| commit | ba86a5d7f3aa0127c4732c739af3f6086fb6acd9 (patch) | |
| tree | 64d2308ad44f4b87cf9aa5aaacb8933ec7bda679 /Ryujinx.HLE/HOS/Services/Nfp/IUserManager.cs | |
| parent | a8965aad970549b3fca87520616674aa3600a9dd (diff) | |
nfp:user: Implement IUser (#714)
* nfp:user: Implement IUser
- Based on RE of sysmod FW 1.0 and 3.0 with help of https://github.com/switchbrew/libnx/ and https://reswitched.github.io/SwIPC/ifaces.html#nn::nfp::detail::IUser
- Accurate implementation of Initialize, AttachActivateEvent, AttachDeactivateEvent, GetState, GetDeviceState, GetNpadId and GetDeviceState.
- Implementation of Finalize and ListDevices (close #638).
* reorder private var
* fix nits
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Nfp/IUserManager.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Nfp/IUserManager.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Nfp/IUserManager.cs b/Ryujinx.HLE/HOS/Services/Nfp/IUserManager.cs deleted file mode 100644 index 1bf93746..00000000 --- a/Ryujinx.HLE/HOS/Services/Nfp/IUserManager.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Ryujinx.HLE.HOS.Ipc; -using System.Collections.Generic; - -namespace Ryujinx.HLE.HOS.Services.Nfp -{ - class IUserManager : IpcService - { - private Dictionary<int, ServiceProcessRequest> _commands; - - public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands; - - public IUserManager() - { - _commands = new Dictionary<int, ServiceProcessRequest> - { - { 0, GetUserInterface } - }; - } - - public long GetUserInterface(ServiceCtx context) - { - MakeObject(context, new IUser(context.Device.System)); - - return 0; - } - } -}
\ No newline at end of file |
