mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
PSV modules refactoring
This commit is contained in:
parent
8229c0ed3d
commit
bc9481db1b
129 changed files with 5000 additions and 4588 deletions
|
|
@ -2,18 +2,9 @@
|
|||
#include "Emu/System.h"
|
||||
#include "Emu/ARMv7/PSVFuncList.h"
|
||||
|
||||
#include "sceNpCommon.h"
|
||||
#include "sceNpManager.h"
|
||||
|
||||
extern psv_log_base sceNpManager;
|
||||
|
||||
struct SceNpOptParam
|
||||
{
|
||||
u32 optParamSize;
|
||||
};
|
||||
|
||||
typedef vm::psv::ptr<void(SceNpServiceState state, vm::psv::ptr<void> userdata)> SceNpServiceStateCallback;
|
||||
|
||||
s32 sceNpInit(vm::psv::ptr<const SceNpCommunicationConfig> commConf, vm::psv::ptr<SceNpOptParam> opt)
|
||||
s32 sceNpInit(vm::ptr<const SceNpCommunicationConfig> commConf, vm::ptr<SceNpOptParam> opt)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -28,12 +19,12 @@ s32 sceNpCheckCallback()
|
|||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNpGetServiceState(vm::psv::ptr<SceNpServiceState> state)
|
||||
s32 sceNpGetServiceState(vm::ptr<SceNpServiceState> state)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNpRegisterServiceStateCallback(SceNpServiceStateCallback callback, vm::psv::ptr<void> userdata)
|
||||
s32 sceNpRegisterServiceStateCallback(vm::ptr<SceNpServiceStateCallback> callback, vm::ptr<void> userdata)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -43,22 +34,22 @@ s32 sceNpUnregisterServiceStateCallback()
|
|||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNpManagerGetNpId(vm::psv::ptr<SceNpId> npId)
|
||||
s32 sceNpManagerGetNpId(vm::ptr<SceNpId> npId)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNpManagerGetAccountRegion(vm::psv::ptr<SceNpCountryCode> countryCode, vm::psv::ptr<s32> languageCode)
|
||||
s32 sceNpManagerGetAccountRegion(vm::ptr<SceNpCountryCode> countryCode, vm::ptr<s32> languageCode)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNpManagerGetContentRatingFlag(vm::psv::ptr<s32> isRestricted, vm::psv::ptr<s32> age)
|
||||
s32 sceNpManagerGetContentRatingFlag(vm::ptr<s32> isRestricted, vm::ptr<s32> age)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceNpManagerGetChatRestrictionFlag(vm::psv::ptr<s32> isRestricted)
|
||||
s32 sceNpManagerGetChatRestrictionFlag(vm::ptr<s32> isRestricted)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
|
@ -70,6 +61,7 @@ psv_log_base sceNpManager("SceNpManager", []()
|
|||
sceNpManager.on_load = nullptr;
|
||||
sceNpManager.on_unload = nullptr;
|
||||
sceNpManager.on_stop = nullptr;
|
||||
sceNpManager.on_error = nullptr;
|
||||
|
||||
REG_FUNC(0x04D9F484, sceNpInit);
|
||||
REG_FUNC(0x19E40AE1, sceNpTerm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue