mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
PSP2
This commit is contained in:
parent
5c52521a0a
commit
38c444cfa1
133 changed files with 767 additions and 478 deletions
37
rpcs3/Emu/PSP2/Modules/sceSysmodule.cpp
Normal file
37
rpcs3/Emu/PSP2/Modules/sceSysmodule.cpp
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/PSP2/ARMv7Module.h"
|
||||
|
||||
#include "sceSysmodule.h"
|
||||
|
||||
logs::channel sceSysmodule("sceSysmodule", logs::level::notice);
|
||||
|
||||
s32 sceSysmoduleLoadModule(u16 id)
|
||||
{
|
||||
sceSysmodule.warning("sceSysmoduleLoadModule(id=0x%04x) -> SCE_OK", id);
|
||||
|
||||
return SCE_OK; // loading succeeded
|
||||
}
|
||||
|
||||
s32 sceSysmoduleUnloadModule(u16 id)
|
||||
{
|
||||
sceSysmodule.warning("sceSysmoduleUnloadModule(id=0x%04x) -> SCE_OK", id);
|
||||
|
||||
return SCE_OK; // unloading succeeded
|
||||
}
|
||||
|
||||
s32 sceSysmoduleIsLoaded(u16 id)
|
||||
{
|
||||
sceSysmodule.warning("sceSysmoduleIsLoaded(id=0x%04x) -> SCE_OK", id);
|
||||
|
||||
return SCE_OK; // module is loaded
|
||||
}
|
||||
|
||||
#define REG_FUNC(nid, name) REG_FNID(SceSysmodule, nid, name)
|
||||
|
||||
DECLARE(arm_module_manager::SceSysmodule)("SceSysmodule", []()
|
||||
{
|
||||
REG_FUNC(0x79A0160A, sceSysmoduleLoadModule);
|
||||
REG_FUNC(0x31D87805, sceSysmoduleUnloadModule);
|
||||
REG_FUNC(0x53099B7A, sceSysmoduleIsLoaded);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue