diff options
author | archshift <admin@archshift.com> | 2014-12-15 07:50:54 +0100 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-12-16 00:32:42 +0100 |
commit | 1356a6b313cbf1d5c4570d957988a1e241a28699 (patch) | |
tree | 2923036757b6322568c08c84c11f04916399b7b7 /src/core/hle | |
parent | Added stub for ldr:ro service... (diff) | |
download | yuzu-1356a6b313cbf1d5c4570d957988a1e241a28699.tar yuzu-1356a6b313cbf1d5c4570d957988a1e241a28699.tar.gz yuzu-1356a6b313cbf1d5c4570d957988a1e241a28699.tar.bz2 yuzu-1356a6b313cbf1d5c4570d957988a1e241a28699.tar.lz yuzu-1356a6b313cbf1d5c4570d957988a1e241a28699.tar.xz yuzu-1356a6b313cbf1d5c4570d957988a1e241a28699.tar.zst yuzu-1356a6b313cbf1d5c4570d957988a1e241a28699.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/cecd_u.cpp | 23 | ||||
-rw-r--r-- | src/core/hle/service/cecd_u.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/cecd_u.cpp b/src/core/hle/service/cecd_u.cpp new file mode 100644 index 000000000..d72f1da3f --- /dev/null +++ b/src/core/hle/service/cecd_u.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/cecd_u.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace CECD_U + +namespace CECD_U { + +const Interface::FunctionInfo FunctionTable[] = { +}; +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Interface class + +Interface::Interface() { + Register(FunctionTable, ARRAY_SIZE(FunctionTable)); +} + +} // namespace diff --git a/src/core/hle/service/cecd_u.h b/src/core/hle/service/cecd_u.h new file mode 100644 index 000000000..969e1ed1b --- /dev/null +++ b/src/core/hle/service/cecd_u.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 CECD_U + +namespace CECD_U { + +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 "cecd:u"; + } +}; + +} // namespace diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index b91081542..1b9822ddf 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -11,6 +11,7 @@ #include "core/hle/service/am_net.h" #include "core/hle/service/apt_u.h" #include "core/hle/service/boss_u.h" +#include "core/hle/service/cecd_u.h" #include "core/hle/service/cfg_i.h" #include "core/hle/service/cfg_u.h" #include "core/hle/service/csnd_snd.h" @@ -90,6 +91,7 @@ void Init() { g_manager->AddService(new AM_NET::Interface); g_manager->AddService(new APT_U::Interface); g_manager->AddService(new BOSS_U::Interface); + g_manager->AddService(new CECD_U::Interface); g_manager->AddService(new CFG_I::Interface); g_manager->AddService(new CFG_U::Interface); g_manager->AddService(new CSND_SND::Interface); |