1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle/service/ndm_u.cpp

46 lines
2 KiB
C++
Raw Normal View History

2014-05-30 06:24:04 +02:00
// Copyright 2014 Citra Emulator Project
2014-12-17 06:38:14 +01:00
// Licensed under GPLv2 or any later version
2014-05-30 06:24:04 +02:00
// Refer to the license.txt file included.
#include "core/hle/service/ndm_u.h"
2014-05-30 06:24:04 +02:00
////////////////////////////////////////////////////////////////////////////////////////////////////
// Namespace NDM_U
namespace NDM_U {
const Interface::FunctionInfo FunctionTable[] = {
{0x00010042, nullptr, "EnterExclusiveState"},
{0x00020002, nullptr, "LeaveExclusiveState"},
{0x00030000, nullptr, "QueryExclusiveMode"},
2015-12-30 15:30:57 +01:00
{0x00040002, nullptr, "LockState"},
{0x00050002, nullptr, "UnlockState"},
{0x00060040, nullptr, "SuspendDaemons"},
2015-12-30 15:30:57 +01:00
{0x00070040, nullptr, "ResumeDaemons"},
{0x00080040, nullptr, "DisableWifiUsage"},
{0x00090000, nullptr, "EnableWifiUsage"},
2015-12-30 15:30:57 +01:00
{0x000A0000, nullptr, "GetCurrentState"},
{0x000B0000, nullptr, "GetTargetState"},
{0x000C0000, nullptr, "<Stubbed>"},
{0x000D0040, nullptr, "QueryStatus"},
{0x000E0040, nullptr, "GetDaemonDisableCount"},
{0x000F0000, nullptr, "GetSchedulerDisableCount"},
{0x00100040, nullptr, "SetScanInterval"},
{0x00110000, nullptr, "GetScanInterval"},
{0x00120040, nullptr, "SetRetryInterval"},
{0x00130000, nullptr, "GetRetryInterval"},
{0x00140040, nullptr, "OverrideDefaultDaemons"},
2015-12-30 15:30:57 +01:00
{0x00150000, nullptr, "ResetDefaultDaemons"},
{0x00160000, nullptr, "GetDefaultDaemons"},
{0x00170000, nullptr, "ClearHalfAwakeMacFilter"},
2014-05-30 06:24:04 +02:00
};
////////////////////////////////////////////////////////////////////////////////////////////////////
// Interface class
Interface::Interface() {
2015-01-30 19:56:49 +01:00
Register(FunctionTable);
2014-05-30 06:24:04 +02:00
}
} // namespace