diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2022-11-10 13:52:48 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-01 20:43:59 -0600 |
| commit | a4725bcb73c5038853f460e15c4bfa9f679e7f4b (patch) | |
| tree | ee0ab201ee43638ba274c7fdced6d97c490e4cfb /src/core/hle/service/nfc/nfc.cpp | |
| parent | 4e89979c87dfa77f0c55b03a5aaf00706276c2f0 (diff) | |
service: nfc: Implement mifare service
Diffstat (limited to 'src/core/hle/service/nfc/nfc.cpp')
| -rw-r--r-- | src/core/hle/service/nfc/nfc.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/core/hle/service/nfc/nfc.cpp b/src/core/hle/service/nfc/nfc.cpp index 2f4bacb3b..b17b18ab9 100644 --- a/src/core/hle/service/nfc/nfc.cpp +++ b/src/core/hle/service/nfc/nfc.cpp @@ -6,6 +6,7 @@ #include "common/logging/log.h" #include "common/settings.h" #include "core/hle/ipc_helpers.h" +#include "core/hle/service/nfc/mifare_user.h" #include "core/hle/service/nfc/nfc.h" #include "core/hle/service/nfc/nfc_user.h" #include "core/hle/service/service.h" @@ -50,32 +51,6 @@ private: } }; -class MFIUser final : public ServiceFramework<MFIUser> { -public: - explicit MFIUser(Core::System& system_) : ServiceFramework{system_, "NFC::MFIUser"} { - // clang-format off - static const FunctionInfo functions[] = { - {0, nullptr, "Initialize"}, - {1, nullptr, "Finalize"}, - {2, nullptr, "ListDevices"}, - {3, nullptr, "StartDetection"}, - {4, nullptr, "StopDetection"}, - {5, nullptr, "Read"}, - {6, nullptr, "Write"}, - {7, nullptr, "GetTagInfo"}, - {8, nullptr, "GetActivateEventHandle"}, - {9, nullptr, "GetDeactivateEventHandle"}, - {10, nullptr, "GetState"}, - {11, nullptr, "GetDeviceState"}, - {12, nullptr, "GetNpadId"}, - {13, nullptr, "GetAvailabilityChangeEventHandle"}, - }; - // clang-format on - - RegisterHandlers(functions); - } -}; - class NFC_MF_U final : public ServiceFramework<NFC_MF_U> { public: explicit NFC_MF_U(Core::System& system_) : ServiceFramework{system_, "nfc:mf:u"} { |
