diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-08 08:43:27 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-12-08 09:24:41 +0100 |
commit | e8a960f6a1c86d15de03a26c22b868771a49929c (patch) | |
tree | d5e9b1e77149bc0b266a98e07757891cef319bfe /src/core/hle/service/nfc/nfc_m.cpp | |
parent | Merge pull request #2283 from lioncash/svc (diff) | |
download | yuzu-e8a960f6a1c86d15de03a26c22b868771a49929c.tar yuzu-e8a960f6a1c86d15de03a26c22b868771a49929c.tar.gz yuzu-e8a960f6a1c86d15de03a26c22b868771a49929c.tar.bz2 yuzu-e8a960f6a1c86d15de03a26c22b868771a49929c.tar.lz yuzu-e8a960f6a1c86d15de03a26c22b868771a49929c.tar.xz yuzu-e8a960f6a1c86d15de03a26c22b868771a49929c.tar.zst yuzu-e8a960f6a1c86d15de03a26c22b868771a49929c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nfc/nfc_m.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/core/hle/service/nfc/nfc_m.cpp b/src/core/hle/service/nfc/nfc_m.cpp new file mode 100644 index 000000000..717335c11 --- /dev/null +++ b/src/core/hle/service/nfc/nfc_m.cpp @@ -0,0 +1,44 @@ +// Copyright 2016 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/service/nfc/nfc_m.h" + +namespace Service { +namespace NFC { + +const Interface::FunctionInfo FunctionTable[] = { + // clang-format off + // nfc:u shared commands + {0x00010040, nullptr, "Initialize"}, + {0x00020040, nullptr, "Shutdown"}, + {0x00030000, nullptr, "StartCommunication"}, + {0x00040000, nullptr, "StopCommunication"}, + {0x00050040, nullptr, "StartTagScanning"}, + {0x00060000, nullptr, "StopTagScanning"}, + {0x00070000, nullptr, "LoadAmiiboData"}, + {0x00080000, nullptr, "ResetTagScanState"}, + {0x00090002, nullptr, "UpdateStoredAmiiboData"}, + {0x000D0000, nullptr, "GetTagState"}, + {0x000F0000, nullptr, "CommunicationGetStatus"}, + {0x00100000, nullptr, "GetTagInfo2"}, + {0x00110000, nullptr, "GetTagInfo"}, + {0x00120000, nullptr, "CommunicationGetResult"}, + {0x00130040, nullptr, "OpenAppData"}, + {0x00140384, nullptr, "InitializeWriteAppData"}, + {0x00150040, nullptr, "ReadAppData"}, + {0x00160242, nullptr, "WriteAppData"}, + {0x00170000, nullptr, "GetAmiiboSettings"}, + {0x00180000, nullptr, "GetAmiiboConfig"}, + {0x00190000, nullptr, "GetAppDataInitStruct"}, + // nfc:m + {0x04040A40, nullptr, "SetAmiiboSettings"} + // clang-format on +}; + +NFC_M::NFC_M() { + Register(FunctionTable); +} + +} // namespace NFC +} // namespace Service |