diff options
author | JamePeng <jame_peng@sina.com> | 2016-02-14 12:53:32 +0100 |
---|---|---|
committer | JamePeng <jame_peng@sina.com> | 2016-03-14 17:42:47 +0100 |
commit | dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23 (patch) | |
tree | 091058af51d0edc57650bd72b2dca54b0703fde2 /src/core/hle/service/ndm_u.cpp | |
parent | Merge pull request #1509 from lioncash/noncopy (diff) | |
download | yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.gz yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.bz2 yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.lz yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.xz yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.tar.zst yuzu-dd0b8047eb8985ff398fd6e5e4fa11d1ea111e23.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/ndm/ndm_u.cpp (renamed from src/core/hle/service/ndm_u.cpp) | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/src/core/hle/service/ndm_u.cpp b/src/core/hle/service/ndm/ndm_u.cpp index 8fdf1ef90..bf95cc7aa 100644 --- a/src/core/hle/service/ndm_u.cpp +++ b/src/core/hle/service/ndm/ndm_u.cpp @@ -2,12 +2,11 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "core/hle/service/ndm_u.h" +#include "core/hle/service/ndm/ndm.h" +#include "core/hle/service/ndm/ndm_u.h" -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Namespace NDM_U - -namespace NDM_U { +namespace Service { +namespace NDM { const Interface::FunctionInfo FunctionTable[] = { {0x00010042, nullptr, "EnterExclusiveState"}, @@ -15,8 +14,8 @@ const Interface::FunctionInfo FunctionTable[] = { {0x00030000, nullptr, "QueryExclusiveMode"}, {0x00040002, nullptr, "LockState"}, {0x00050002, nullptr, "UnlockState"}, - {0x00060040, nullptr, "SuspendDaemons"}, - {0x00070040, nullptr, "ResumeDaemons"}, + {0x00060040, SuspendDaemons, "SuspendDaemons"}, + {0x00070040, ResumeDaemons, "ResumeDaemons"}, {0x00080040, nullptr, "DisableWifiUsage"}, {0x00090000, nullptr, "EnableWifiUsage"}, {0x000A0000, nullptr, "GetCurrentState"}, @@ -29,17 +28,15 @@ const Interface::FunctionInfo FunctionTable[] = { {0x00110000, nullptr, "GetScanInterval"}, {0x00120040, nullptr, "SetRetryInterval"}, {0x00130000, nullptr, "GetRetryInterval"}, - {0x00140040, nullptr, "OverrideDefaultDaemons"}, + {0x00140040, OverrideDefaultDaemons, "OverrideDefaultDaemons"}, {0x00150000, nullptr, "ResetDefaultDaemons"}, {0x00160000, nullptr, "GetDefaultDaemons"}, {0x00170000, nullptr, "ClearHalfAwakeMacFilter"}, }; -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Interface class - -Interface::Interface() { +NDM_U_Interface::NDM_U_Interface() { Register(FunctionTable); } -} // namespace +} // namespace NDM +} // namespace Service |