mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
112 lines
2.4 KiB
C++
112 lines
2.4 KiB
C++
#include "stdafx.h"
|
|
#include "Emu/System.h"
|
|
#include "Emu/ARMv7/PSVFuncList.h"
|
|
|
|
#include "sceNetCtl.h"
|
|
|
|
s32 sceNetCtlInit()
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
void sceNetCtlTerm()
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlCheckCallback()
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlInetGetResult(s32 eventType, vm::ptr<s32> errorCode)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlAdhocGetResult(s32 eventType, vm::ptr<s32> errorCode)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlInetGetInfo(s32 code, vm::ptr<SceNetCtlInfo> info)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlInetGetState(vm::ptr<s32> state)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlGetNatInfo(vm::ptr<SceNetCtlNatInfo> natinfo)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlInetRegisterCallback(vm::ptr<SceNetCtlCallback> func, vm::ptr<void> arg, vm::ptr<s32> cid)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlInetUnregisterCallback(s32 cid)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlAdhocRegisterCallback(vm::ptr<SceNetCtlCallback> func, vm::ptr<void> arg, vm::ptr<s32> cid)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlAdhocUnregisterCallback(s32 cid)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlAdhocGetState(vm::ptr<s32> state)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlAdhocDisconnect()
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlAdhocGetPeerList(vm::ptr<u32> buflen, vm::ptr<void> buf)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceNetCtlAdhocGetInAddr(vm::ptr<SceNetInAddr> inaddr)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceNetCtl, #name, name)
|
|
|
|
psv_log_base sceNetCtl("SceNetCtl", []()
|
|
{
|
|
sceNetCtl.on_load = nullptr;
|
|
sceNetCtl.on_unload = nullptr;
|
|
sceNetCtl.on_stop = nullptr;
|
|
sceNetCtl.on_error = nullptr;
|
|
|
|
REG_FUNC(0x495CA1DB, sceNetCtlInit);
|
|
REG_FUNC(0xCD188648, sceNetCtlTerm);
|
|
REG_FUNC(0xDFFC3ED4, sceNetCtlCheckCallback);
|
|
REG_FUNC(0x6B20EC02, sceNetCtlInetGetResult);
|
|
REG_FUNC(0x7AE0ED19, sceNetCtlAdhocGetResult);
|
|
REG_FUNC(0xB26D07F3, sceNetCtlInetGetInfo);
|
|
REG_FUNC(0x6D26AC68, sceNetCtlInetGetState);
|
|
REG_FUNC(0xEAEE6185, sceNetCtlInetRegisterCallback);
|
|
REG_FUNC(0xD0C3BF3F, sceNetCtlInetUnregisterCallback);
|
|
REG_FUNC(0x4DDD6149, sceNetCtlGetNatInfo);
|
|
REG_FUNC(0x0961A561, sceNetCtlAdhocGetState);
|
|
REG_FUNC(0xFFA9D594, sceNetCtlAdhocRegisterCallback);
|
|
REG_FUNC(0xA4471E10, sceNetCtlAdhocUnregisterCallback);
|
|
REG_FUNC(0xED43B79A, sceNetCtlAdhocDisconnect);
|
|
REG_FUNC(0x77586C59, sceNetCtlAdhocGetPeerList);
|
|
REG_FUNC(0x7118C99D, sceNetCtlAdhocGetInAddr);
|
|
});
|