nfc_u.cpp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Copyright 2016 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/nfc/nfc.h"
  5. #include "core/hle/service/nfc/nfc_u.h"
  6. namespace Service {
  7. namespace NFC {
  8. const Interface::FunctionInfo FunctionTable[] = {
  9. // clang-format off
  10. {0x00010040, nullptr, "Initialize"},
  11. {0x00020040, nullptr, "Shutdown"},
  12. {0x00030000, nullptr, "StartCommunication"},
  13. {0x00040000, nullptr, "StopCommunication"},
  14. {0x00050040, nullptr, "StartTagScanning"},
  15. {0x00060000, nullptr, "StopTagScanning"},
  16. {0x00070000, nullptr, "LoadAmiiboData"},
  17. {0x00080000, nullptr, "ResetTagScanState"},
  18. {0x00090002, nullptr, "UpdateStoredAmiiboData"},
  19. {0x000B0000, GetTagInRangeEvent, "GetTagInRangeEvent"},
  20. {0x000D0000, nullptr, "GetTagState"},
  21. {0x000F0000, nullptr, "CommunicationGetStatus"},
  22. {0x00100000, nullptr, "GetTagInfo2"},
  23. {0x00110000, nullptr, "GetTagInfo"},
  24. {0x00120000, nullptr, "CommunicationGetResult"},
  25. {0x00130040, nullptr, "OpenAppData"},
  26. {0x00140384, nullptr, "InitializeWriteAppData"},
  27. {0x00150040, nullptr, "ReadAppData"},
  28. {0x00160242, nullptr, "WriteAppData"},
  29. {0x00170000, nullptr, "GetAmiiboSettings"},
  30. {0x00180000, nullptr, "GetAmiiboConfig"},
  31. {0x00190000, nullptr, "GetAppDataInitStruct"},
  32. // clang-format on
  33. };
  34. NFC_U::NFC_U() {
  35. Register(FunctionTable);
  36. }
  37. } // namespace NFC
  38. } // namespace Service