mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
Partial commit: Modules
This commit is contained in:
parent
2553e45d76
commit
7e30a0f464
46 changed files with 1021 additions and 2710 deletions
42
rpcs3/Emu/Cell/Modules/sys_prx_.cpp
Normal file
42
rpcs3/Emu/Cell/Modules/sys_prx_.cpp
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
#include "Emu/Cell/lv2/sys_prx.h"
|
||||
#include "sysPrxForUser.h"
|
||||
|
||||
extern _log::channel sysPrxForUser;
|
||||
|
||||
s64 sys_prx_exitspawn_with_level()
|
||||
{
|
||||
sysPrxForUser.trace("sys_prx_exitspawn_with_level()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 sys_prx_load_module_list_on_memcontainer()
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
void sysPrxForUser_sys_prx_init()
|
||||
{
|
||||
// TODO: split syscalls and liblv2 functions
|
||||
|
||||
REG_FUNC(sysPrxForUser, sys_prx_load_module);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_load_module_by_fd);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_load_module_on_memcontainer);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_load_module_on_memcontainer_by_fd);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_load_module_list);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_load_module_list_on_memcontainer);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_start_module);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_stop_module);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_unload_module);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_register_library);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_unregister_library);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_get_module_list);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_get_module_info);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_get_module_id_by_name);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_get_module_id_by_address);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_exitspawn_with_level);
|
||||
REG_FUNC(sysPrxForUser, sys_prx_get_my_module_id);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue