diff options
author | András Domonkos <katisx1@citromail.hu> | 2016-05-18 03:28:25 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-05-18 03:28:25 +0200 |
commit | 960297e57742be500dbd73b76b7c960cab7fa6c9 (patch) | |
tree | cab4d7967f5b9fd047a21e36a055ee44938b2e95 /src/core/hle/service | |
parent | Merge pull request #1800 from JayFoxRox/set-fpscr (diff) | |
download | yuzu-960297e57742be500dbd73b76b7c960cab7fa6c9.tar yuzu-960297e57742be500dbd73b76b7c960cab7fa6c9.tar.gz yuzu-960297e57742be500dbd73b76b7c960cab7fa6c9.tar.bz2 yuzu-960297e57742be500dbd73b76b7c960cab7fa6c9.tar.lz yuzu-960297e57742be500dbd73b76b7c960cab7fa6c9.tar.xz yuzu-960297e57742be500dbd73b76b7c960cab7fa6c9.tar.zst yuzu-960297e57742be500dbd73b76b7c960cab7fa6c9.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/act_a.cpp | 26 | ||||
-rw-r--r-- | src/core/hle/service/act_a.h | 23 | ||||
-rw-r--r-- | src/core/hle/service/act_u.cpp | 3 | ||||
-rw-r--r-- | src/core/hle/service/service.cpp | 2 |
4 files changed, 54 insertions, 0 deletions
diff --git a/src/core/hle/service/act_a.cpp b/src/core/hle/service/act_a.cpp new file mode 100644 index 000000000..3a775fa90 --- /dev/null +++ b/src/core/hle/service/act_a.cpp @@ -0,0 +1,26 @@ +// Copyright 2016 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/service/act_a.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace ACT_A + +namespace ACT_A { + +const Interface::FunctionInfo FunctionTable[] = { + {0x041300C2, nullptr, "UpdateMiiImage"}, + {0x041B0142, nullptr, "AgreeEula"}, + {0x04210042, nullptr, "UploadMii"}, + {0x04230082, nullptr, "ValidateMailAddress"}, +}; + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Interface class + +Interface::Interface() { + Register(FunctionTable); +} + +} // namespace diff --git a/src/core/hle/service/act_a.h b/src/core/hle/service/act_a.h new file mode 100644 index 000000000..765cae644 --- /dev/null +++ b/src/core/hle/service/act_a.h @@ -0,0 +1,23 @@ +// Copyright 2016 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/service.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace ACT_A + +namespace ACT_A { + +class Interface : public Service::Interface { +public: + Interface(); + + std::string GetPortName() const override { + return "act:a"; + } +}; + +} // namespace diff --git a/src/core/hle/service/act_u.cpp b/src/core/hle/service/act_u.cpp index b23d17fba..05de4d002 100644 --- a/src/core/hle/service/act_u.cpp +++ b/src/core/hle/service/act_u.cpp @@ -10,7 +10,10 @@ namespace ACT_U { const Interface::FunctionInfo FunctionTable[] = { + {0x00010084, nullptr, "Initialize"}, + {0x00020040, nullptr, "GetErrorCode"}, {0x000600C2, nullptr, "GetAccountDataBlock"}, + {0x000D0040, nullptr, "GenerateUuid"}, }; //////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 0fe3a4d7a..d7e7d4fe3 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -7,6 +7,7 @@ #include "core/hle/service/service.h" #include "core/hle/service/ac_u.h" +#include "core/hle/service/act_a.h" #include "core/hle/service/act_u.h" #include "core/hle/service/csnd_snd.h" #include "core/hle/service/dlp_srvr.h" @@ -119,6 +120,7 @@ void Init() { Service::PTM::Init(); AddService(new AC_U::Interface); + AddService(new ACT_A::Interface); AddService(new ACT_U::Interface); AddService(new CSND_SND::Interface); AddService(new DLP_SRVR::Interface); |