nwm_uds: Update function table
Updated based off information from 3dbrew.
This commit is contained in:
parent
4a150a8f3c
commit
9f2ad62084
|
@ -90,7 +90,7 @@ static void RecvBeaconBroadcastData(Service::Interface* self) {
|
||||||
* 2 : Value 0
|
* 2 : Value 0
|
||||||
* 3 : Output handle
|
* 3 : Output handle
|
||||||
*/
|
*/
|
||||||
static void Initialize(Service::Interface* self) {
|
static void InitializeWithVersion(Service::Interface* self) {
|
||||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
u32 unk1 = cmd_buff[1];
|
u32 unk1 = cmd_buff[1];
|
||||||
u32 unk2 = cmd_buff[12];
|
u32 unk2 = cmd_buff[12];
|
||||||
|
@ -120,24 +120,26 @@ static void Initialize(Service::Interface* self) {
|
||||||
const Interface::FunctionInfo FunctionTable[] = {
|
const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x00020000, nullptr, "Scrap"},
|
{0x00020000, nullptr, "Scrap"},
|
||||||
{0x00030000, Shutdown, "Shutdown"},
|
{0x00030000, Shutdown, "Shutdown"},
|
||||||
{0x00040402, nullptr, "CreateNetwork"},
|
{0x00040402, nullptr, "CreateNetwork (deprecated)"},
|
||||||
{0x00050040, nullptr, "EjectClient"},
|
{0x00050040, nullptr, "EjectClient"},
|
||||||
{0x00060000, nullptr, "EjectSpectator"},
|
{0x00060000, nullptr, "EjectSpectator"},
|
||||||
{0x00070080, nullptr, "UpdateNetworkAttribute"},
|
{0x00070080, nullptr, "UpdateNetworkAttribute"},
|
||||||
{0x00080000, nullptr, "DestroyNetwork"},
|
{0x00080000, nullptr, "DestroyNetwork"},
|
||||||
|
{0x00090442, nullptr, "ConnectNetwork (deprecated)"},
|
||||||
{0x000A0000, nullptr, "DisconnectNetwork"},
|
{0x000A0000, nullptr, "DisconnectNetwork"},
|
||||||
{0x000B0000, nullptr, "GetConnectionStatus"},
|
{0x000B0000, nullptr, "GetConnectionStatus"},
|
||||||
{0x000D0040, nullptr, "GetNodeInformation"},
|
{0x000D0040, nullptr, "GetNodeInformation"},
|
||||||
|
{0x000E0006, nullptr, "DecryptBeaconData (deprecated)"},
|
||||||
{0x000F0404, RecvBeaconBroadcastData, "RecvBeaconBroadcastData"},
|
{0x000F0404, RecvBeaconBroadcastData, "RecvBeaconBroadcastData"},
|
||||||
{0x00100042, nullptr, "SetBeaconAdditionalData"},
|
{0x00100042, nullptr, "SetApplicationData"},
|
||||||
{0x00110040, nullptr, "GetApplicationData"},
|
{0x00110040, nullptr, "GetApplicationData"},
|
||||||
{0x00120100, nullptr, "Bind"},
|
{0x00120100, nullptr, "Bind"},
|
||||||
{0x00130040, nullptr, "Unbind"},
|
{0x00130040, nullptr, "Unbind"},
|
||||||
{0x001400C0, nullptr, "RecvBroadcastDataFrame"},
|
{0x001400C0, nullptr, "PullPacket"},
|
||||||
{0x00150080, nullptr, "SetMaxSendDelay"},
|
{0x00150080, nullptr, "SetMaxSendDelay"},
|
||||||
{0x00170182, nullptr, "SendTo"},
|
{0x00170182, nullptr, "SendTo"},
|
||||||
{0x001A0000, nullptr, "GetChannel"},
|
{0x001A0000, nullptr, "GetChannel"},
|
||||||
{0x001B0302, Initialize, "Initialize"},
|
{0x001B0302, InitializeWithVersion, "InitializeWithVersion"},
|
||||||
{0x001D0044, nullptr, "BeginHostingNetwork"},
|
{0x001D0044, nullptr, "BeginHostingNetwork"},
|
||||||
{0x001E0084, nullptr, "ConnectToNetwork"},
|
{0x001E0084, nullptr, "ConnectToNetwork"},
|
||||||
{0x001F0006, nullptr, "DecryptBeaconData"},
|
{0x001F0006, nullptr, "DecryptBeaconData"},
|
||||||
|
|
Reference in New Issue