rpcsx/rpcs3/Emu/Cell/Modules/sys_prx_.cpp

43 lines
1.4 KiB
C++
Raw Normal View History

2015-08-02 04:15:49 +02:00
#include "stdafx.h"
#include "Emu/System.h"
2016-03-21 20:42:14 +01:00
#include "Emu/Cell/PPUModule.h"
2015-08-02 04:15:49 +02:00
2016-03-21 20:42:14 +01:00
#include "Emu/Cell/lv2/sys_prx.h"
2015-08-02 04:15:49 +02:00
#include "sysPrxForUser.h"
2016-05-13 15:55:34 +02:00
extern logs::channel sysPrxForUser;
2015-08-02 04:15:49 +02:00
s64 sys_prx_exitspawn_with_level()
{
sysPrxForUser.trace("sys_prx_exitspawn_with_level()");
2015-08-02 04:15:49 +02:00
return CELL_OK;
}
s32 sys_prx_load_module_list_on_memcontainer()
{
fmt::throw_exception("Unimplemented" HERE);
2015-08-02 04:15:49 +02:00
}
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);
2015-08-01 09:52:44 +02:00
REG_FUNC(sysPrxForUser, sys_prx_load_module_on_memcontainer);
REG_FUNC(sysPrxForUser, sys_prx_load_module_on_memcontainer_by_fd);
2015-08-02 04:15:49 +02:00
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);
}