Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nfp:user: Implement IUser #714

Merged
merged 3 commits into from
Jun 28, 2019
Merged

nfp:user: Implement IUser #714

merged 3 commits into from
Jun 28, 2019

Conversation

AcK77
Copy link
Member

@AcK77 AcK77 commented Jun 28, 2019

- 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 Ryujinx#638).
@AcK77 AcK77 added enhancement New feature or request horizon Related to Ryujinx.HLE labels Jun 28, 2019
Copy link
Collaborator

@jduncanator jduncanator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Just a few nitpicks.

Ryujinx.HLE/HOS/Services/Hid/HidUtils.cs Outdated Show resolved Hide resolved
Ryujinx.HLE/HOS/Services/Nfc/Nfp/Device.cs Outdated Show resolved Hide resolved
Ryujinx.HLE/HOS/Services/Nfc/Nfp/IUser.cs Outdated Show resolved Hide resolved
Copy link
Collaborator

@jduncanator jduncanator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more things!

Ryujinx.HLE/HOS/Services/Nfc/Nfp/IUser.cs Outdated Show resolved Hide resolved
Ryujinx.HLE/HOS/Services/Nfc/Nfp/IUser.cs Outdated Show resolved Hide resolved
Ryujinx.HLE/HOS/Services/Nfc/Nfp/IUser.cs Outdated Show resolved Hide resolved
Ryujinx.HLE/HOS/Services/Nfc/Nfp/IUser.cs Outdated Show resolved Hide resolved
Ryujinx.HLE/HOS/Services/Nfc/Nfp/IUser.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@marysaka marysaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks 👍

@jduncanator jduncanator merged commit ba86a5d into Ryujinx:master Jun 28, 2019
@jduncanator
Copy link
Collaborator

👨🏽‍💻Merged 🥳

@AcK77 AcK77 deleted the nfp branch July 10, 2019 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request horizon Related to Ryujinx.HLE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nfp:user IUser: 2 (ListDevices) not implemented
3 participants