diff options
| author | bunnei <bunneidev@gmail.com> | 2017-01-12 10:12:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-12 10:12:46 -0500 |
| commit | 597a7c615c9ca3ed8e2fdb49b75111badf537af5 (patch) | |
| tree | b589785fde61e62f94f0eac439174094d59c6133 /src/core/hle/service/ac/ac_u.cpp | |
| parent | 84d72fd92fcd737566efde0cb324c48dcd689997 (diff) | |
| parent | c6f4b93f2ec7ba6c20329a87e25fb3251dd72f70 (diff) | |
Merge pull request #2308 from mailwl/ac-i
Service/AC: add ac:i service
Diffstat (limited to 'src/core/hle/service/ac/ac_u.cpp')
| -rw-r--r-- | src/core/hle/service/ac/ac_u.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/core/hle/service/ac/ac_u.cpp b/src/core/hle/service/ac/ac_u.cpp new file mode 100644 index 000000000..346671b4a --- /dev/null +++ b/src/core/hle/service/ac/ac_u.cpp @@ -0,0 +1,39 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/service/ac/ac.h" +#include "core/hle/service/ac/ac_u.h" + +namespace Service { +namespace AC { + +const Interface::FunctionInfo FunctionTable[] = { + {0x00010000, CreateDefaultConfig, "CreateDefaultConfig"}, + {0x00040006, ConnectAsync, "ConnectAsync"}, + {0x00050002, GetConnectResult, "GetConnectResult"}, + {0x00070002, nullptr, "CancelConnectAsync"}, + {0x00080004, CloseAsync, "CloseAsync"}, + {0x00090002, GetCloseResult, "GetCloseResult"}, + {0x000A0000, nullptr, "GetLastErrorCode"}, + {0x000C0000, nullptr, "GetStatus"}, + {0x000D0000, GetWifiStatus, "GetWifiStatus"}, + {0x000E0042, nullptr, "GetCurrentAPInfo"}, + {0x00100042, nullptr, "GetCurrentNZoneInfo"}, + {0x00110042, nullptr, "GetNZoneApNumService"}, + {0x001D0042, nullptr, "ScanAPs"}, + {0x00240042, nullptr, "AddDenyApType"}, + {0x00270002, GetInfraPriority, "GetInfraPriority"}, + {0x002D0082, SetRequestEulaVersion, "SetRequestEulaVersion"}, + {0x00300004, RegisterDisconnectEvent, "RegisterDisconnectEvent"}, + {0x003C0042, nullptr, "GetAPSSIDList"}, + {0x003E0042, IsConnected, "IsConnected"}, + {0x00400042, SetClientVersion, "SetClientVersion"}, +}; + +AC_U::AC_U() { + Register(FunctionTable); +} + +} // namespace AC +} // namespace Service |
