mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 07:55:35 +00:00
Some functions added
This commit is contained in:
parent
35898a6cdf
commit
cd6f95c90d
16 changed files with 1589 additions and 166 deletions
|
|
@ -4,6 +4,84 @@
|
|||
|
||||
extern psv_log_base sceSulpha;
|
||||
|
||||
typedef vm::psv::ptr<void(vm::psv::ptr<void> arg)> SceSulphaCallback;
|
||||
|
||||
struct SceSulphaConfig
|
||||
{
|
||||
SceSulphaCallback notifyCallback;
|
||||
u32 port;
|
||||
u32 bookmarkCount;
|
||||
};
|
||||
|
||||
struct SceSulphaAgentsRegister;
|
||||
typedef void SceSulphaHandle;
|
||||
|
||||
s32 sceSulphaNetworkInit()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaNetworkShutdown()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaGetDefaultConfig(vm::psv::ptr<SceSulphaConfig> config)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaGetNeededMemory(vm::psv::ptr<const SceSulphaConfig> config, vm::psv::ptr<u32> sizeInBytes)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaInit(vm::psv::ptr<const SceSulphaConfig> config, vm::psv::ptr<void> buffer, u32 sizeInBytes)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaShutdown()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaUpdate()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaFileConnect(vm::psv::ptr<const char> filename)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaFileDisconnect()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaSetBookmark(vm::psv::ptr<const char> name, s32 id)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaAgentsGetNeededMemory(vm::psv::ptr<const SceSulphaAgentsRegister> config, vm::psv::ptr<u32> sizeInBytes)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaAgentsRegister(vm::psv::ptr<const SceSulphaAgentsRegister> config, vm::psv::ptr<void> buffer, u32 sizeInBytes, vm::psv::ptr<SceSulphaHandle> handles)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceSulphaAgentsUnregister(vm::psv::ptr<const SceSulphaHandle> handles, u32 agentCount)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
|
||||
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceSulpha, #name, name)
|
||||
|
||||
psv_log_base sceSulpha("SceSulpha", []()
|
||||
|
|
@ -12,19 +90,19 @@ psv_log_base sceSulpha("SceSulpha", []()
|
|||
sceSulpha.on_unload = nullptr;
|
||||
sceSulpha.on_stop = nullptr;
|
||||
|
||||
//REG_FUNC(0xB4668AEA, sceSulphaNetworkInit);
|
||||
//REG_FUNC(0x0FC71B72, sceSulphaNetworkShutdown);
|
||||
//REG_FUNC(0xA6A05C50, sceSulphaGetDefaultConfig);
|
||||
//REG_FUNC(0xD52E5A5A, sceSulphaGetNeededMemory);
|
||||
//REG_FUNC(0x324F158F, sceSulphaInit);
|
||||
//REG_FUNC(0x10770BA7, sceSulphaShutdown);
|
||||
//REG_FUNC(0x920EC7BF, sceSulphaUpdate);
|
||||
//REG_FUNC(0x7968A138, sceSulphaFileConnect);
|
||||
//REG_FUNC(0xB16E7B88, sceSulphaFileDisconnect);
|
||||
//REG_FUNC(0x5E15E164, sceSulphaSetBookmark);
|
||||
//REG_FUNC(0xC5752B6B, sceSulphaAgentsGetNeededMemory);
|
||||
//REG_FUNC(0x7ADB454D, sceSulphaAgentsRegister);
|
||||
//REG_FUNC(0x2A8B74D7, sceSulphaAgentsUnregister);
|
||||
REG_FUNC(0xB4668AEA, sceSulphaNetworkInit);
|
||||
REG_FUNC(0x0FC71B72, sceSulphaNetworkShutdown);
|
||||
REG_FUNC(0xA6A05C50, sceSulphaGetDefaultConfig);
|
||||
REG_FUNC(0xD52E5A5A, sceSulphaGetNeededMemory);
|
||||
REG_FUNC(0x324F158F, sceSulphaInit);
|
||||
REG_FUNC(0x10770BA7, sceSulphaShutdown);
|
||||
REG_FUNC(0x920EC7BF, sceSulphaUpdate);
|
||||
REG_FUNC(0x7968A138, sceSulphaFileConnect);
|
||||
REG_FUNC(0xB16E7B88, sceSulphaFileDisconnect);
|
||||
REG_FUNC(0x5E15E164, sceSulphaSetBookmark);
|
||||
REG_FUNC(0xC5752B6B, sceSulphaAgentsGetNeededMemory);
|
||||
REG_FUNC(0x7ADB454D, sceSulphaAgentsRegister);
|
||||
REG_FUNC(0x2A8B74D7, sceSulphaAgentsUnregister);
|
||||
//REG_FUNC(0xDE7E2911, sceSulphaGetAgent);
|
||||
//REG_FUNC(0xA41B7402, sceSulphaNodeNew);
|
||||
//REG_FUNC(0xD44C9F86, sceSulphaNodeDelete);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue