rpcsx/rpcs3/Emu/PSP2/Modules/sceSulpha.cpp

103 lines
2.7 KiB
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
2016-05-13 12:17:26 +02:00
#include "Emu/PSP2/ARMv7Module.h"
2015-06-21 01:04:01 +02:00
#include "sceSulpha.h"
2015-01-30 11:48:12 +01:00
2017-05-13 20:30:37 +02:00
logs::channel sceSulpha("sceSulpha");
2016-02-01 22:53:16 +01:00
2015-01-30 11:48:12 +01:00
s32 sceSulphaNetworkInit()
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaNetworkShutdown()
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceSulphaGetDefaultConfig(vm::ptr<SceSulphaConfig> config)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaGetNeededMemory(vm::cptr<SceSulphaConfig> config, vm::ptr<u32> sizeInBytes)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaInit(vm::cptr<SceSulphaConfig> config, vm::ptr<void> buffer, u32 sizeInBytes)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaShutdown()
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaUpdate()
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaFileConnect(vm::cptr<char> filename)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaFileDisconnect()
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaSetBookmark(vm::cptr<char> name, s32 id)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaAgentsGetNeededMemory(vm::cptr<SceSulphaAgentsRegister> config, vm::ptr<u32> sizeInBytes)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaAgentsRegister(vm::cptr<SceSulphaAgentsRegister> config, vm::ptr<void> buffer, u32 sizeInBytes, vm::ptr<SceSulphaHandle> handles)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSulphaAgentsUnregister(vm::cptr<SceSulphaHandle> handles, u32 agentCount)
2015-01-30 11:48:12 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
2016-02-01 22:53:16 +01:00
#define REG_FUNC(nid, name) REG_FNID(SceSulpha, nid, name)
2016-02-01 22:53:16 +01:00
DECLARE(arm_module_manager::SceSulpha)("SceSulpha", []()
{
2015-01-30 11:48:12 +01:00
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);
//REG_FUNC(0xBF61F3B8, sceSulphaEventNew);
//REG_FUNC(0xD5D995A9, sceSulphaEventDelete);
//REG_FUNC(0xB0C2B9CE, sceSulphaEventAdd);
//REG_FUNC(0xBC6A2833, sceSulphaEventReport);
//REG_FUNC(0x29F0DA12, sceSulphaGetTimestamp);
//REG_FUNC(0x951D159D, sceSulphaLogSetLevel);
//REG_FUNC(0x5C6815C6, sceSulphaLogHandler);
});