diff options
author | archshift <admin@archshift.com> | 2014-12-15 07:48:55 +0100 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-12-16 00:32:41 +0100 |
commit | 6b51683bb1e8772260a51a1bbf029fce773ecad8 (patch) | |
tree | cfb9e24b59883c1c24383094f7198e9fac3dccb9 /src/core/hle | |
parent | Merge pull request #276 from lioncash/decrappify (diff) | |
download | yuzu-6b51683bb1e8772260a51a1bbf029fce773ecad8.tar yuzu-6b51683bb1e8772260a51a1bbf029fce773ecad8.tar.gz yuzu-6b51683bb1e8772260a51a1bbf029fce773ecad8.tar.bz2 yuzu-6b51683bb1e8772260a51a1bbf029fce773ecad8.tar.lz yuzu-6b51683bb1e8772260a51a1bbf029fce773ecad8.tar.xz yuzu-6b51683bb1e8772260a51a1bbf029fce773ecad8.tar.zst yuzu-6b51683bb1e8772260a51a1bbf029fce773ecad8.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/am_app.cpp | 23 | ||||
-rw-r--r-- | src/core/hle/service/am_app.h | 27 | ||||
-rw-r--r-- | src/core/hle/service/service.cpp | 2 |
3 files changed, 52 insertions, 0 deletions
diff --git a/src/core/hle/service/am_app.cpp b/src/core/hle/service/am_app.cpp new file mode 100644 index 000000000..05c34832b --- /dev/null +++ b/src/core/hle/service/am_app.cpp @@ -0,0 +1,23 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#include "common/log.h" +#include "core/hle/hle.h" +#include "core/hle/service/am_app.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace AM_APP + +namespace AM_APP { + +const Interface::FunctionInfo FunctionTable[] = { +}; +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Interface class + +Interface::Interface() { + Register(FunctionTable, ARRAY_SIZE(FunctionTable)); +} + +} // namespace diff --git a/src/core/hle/service/am_app.h b/src/core/hle/service/am_app.h new file mode 100644 index 000000000..86a5f5b74 --- /dev/null +++ b/src/core/hle/service/am_app.h @@ -0,0 +1,27 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/service.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace AM_APP + +namespace AM_APP { + +class Interface : public Service::Interface { +public: + Interface(); + + /** + * Gets the string port name used by CTROS for the service + * @return Port name of service + */ + std::string GetPortName() const override { + return "am:app"; + } +}; + +} // namespace diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index e6973572b..287cd48e1 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/am_app.h" #include "core/hle/service/am_net.h" #include "core/hle/service/apt_u.h" #include "core/hle/service/boss_u.h" @@ -84,6 +85,7 @@ void Init() { g_manager->AddService(new SRV::Interface); g_manager->AddService(new AC_U::Interface); + g_manager->AddService(new AM_APP::Interface); g_manager->AddService(new AM_NET::Interface); g_manager->AddService(new APT_U::Interface); g_manager->AddService(new BOSS_U::Interface); |