mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
scePerf stub, sceSysmodule, sema, ef
This commit is contained in:
parent
a7d85480a8
commit
81340e9d5c
19 changed files with 310 additions and 87 deletions
39
rpcs3/Emu/ARMv7/Modules/sceSysmodule.cpp
Normal file
39
rpcs3/Emu/ARMv7/Modules/sceSysmodule.cpp
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/ARMv7/PSVFuncList.h"
|
||||
|
||||
extern psv_log_base sceSysmodule;
|
||||
|
||||
s32 sceSysmoduleLoadModule(u16 id)
|
||||
{
|
||||
sceSysmodule.Todo("sceSysmoduleLoadModule(id=0x%04x)", id);
|
||||
|
||||
return SCE_OK; // loading succeeded
|
||||
}
|
||||
|
||||
s32 sceSysmoduleUnloadModule(u16 id)
|
||||
{
|
||||
sceSysmodule.Todo("sceSysmoduleUnloadModule(id=0x%04x)", id);
|
||||
|
||||
return SCE_OK; // unloading succeeded
|
||||
}
|
||||
|
||||
s32 sceSysmoduleIsLoaded(u16 id)
|
||||
{
|
||||
sceSysmodule.Todo("sceSysmoduleIsLoaded(id=0x%04x)", id);
|
||||
|
||||
return SCE_OK; // module is loaded
|
||||
}
|
||||
|
||||
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceSysmodule, #name, name)
|
||||
|
||||
psv_log_base sceSysmodule("SceSysmodule", []()
|
||||
{
|
||||
sceSysmodule.on_load = nullptr;
|
||||
sceSysmodule.on_unload = nullptr;
|
||||
sceSysmodule.on_stop = nullptr;
|
||||
|
||||
REG_FUNC(0x79A0160A, sceSysmoduleLoadModule);
|
||||
REG_FUNC(0x31D87805, sceSysmoduleUnloadModule);
|
||||
REG_FUNC(0x53099B7A, sceSysmoduleIsLoaded);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue