diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-30 06:24:04 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-30 06:24:04 +0200 |
commit | 55325dea4c85e1a91c6d37282322b466ef40ffac (patch) | |
tree | a9e15f4f150a7ddd596cd41a5c54f4a664101916 /src/core/hle | |
parent | service: cleaned up log messages (diff) | |
download | yuzu-55325dea4c85e1a91c6d37282322b466ef40ffac.tar yuzu-55325dea4c85e1a91c6d37282322b466ef40ffac.tar.gz yuzu-55325dea4c85e1a91c6d37282322b466ef40ffac.tar.bz2 yuzu-55325dea4c85e1a91c6d37282322b466ef40ffac.tar.lz yuzu-55325dea4c85e1a91c6d37282322b466ef40ffac.tar.xz yuzu-55325dea4c85e1a91c6d37282322b466ef40ffac.tar.zst yuzu-55325dea4c85e1a91c6d37282322b466ef40ffac.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/ndm.cpp | 32 | ||||
-rw-r--r-- | src/core/hle/service/ndm.h | 33 |
2 files changed, 65 insertions, 0 deletions
diff --git a/src/core/hle/service/ndm.cpp b/src/core/hle/service/ndm.cpp new file mode 100644 index 000000000..671e9d4bd --- /dev/null +++ b/src/core/hle/service/ndm.cpp @@ -0,0 +1,32 @@ +// 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/ndm.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace NDM_U + +namespace NDM_U { + +const Interface::FunctionInfo FunctionTable[] = { + {0x00060040, NULL, "SuspendDaemons"}, + {0x00080040, NULL, "DisableWifiUsage"}, + {0x00090000, NULL, "EnableWifiUsage"}, + {0x00140040, NULL, "OverrideDefaultDaemons"}, +}; + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Interface class + +Interface::Interface() { + Register(FunctionTable, ARRAY_SIZE(FunctionTable)); +} + +Interface::~Interface() { +} + +} // namespace diff --git a/src/core/hle/service/ndm.h b/src/core/hle/service/ndm.h new file mode 100644 index 000000000..fbe88fb8f --- /dev/null +++ b/src/core/hle/service/ndm.h @@ -0,0 +1,33 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2 +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/service.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// +// Namespace NDM + +// No idea what this is + +namespace NDM_U { + +class Interface : public Service::Interface { +public: + + Interface(); + + ~Interface(); + + /** + * Gets the string port name used by CTROS for the service + * @return Port name of service + */ + const char *GetPortName() const { + return "ndm:u"; + } + +}; + +} // namespace |