Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void loader_sprx(const char* PATH_PRX)
- {
- sys_prx_id_t prx_id ;
- write_message ("Loading original prx... ");
- prx_id = sys_prx_load_module(PATH_PRX, 0, NULL);
- if (prx_id <= CELL_OK)
- {
- write_message ("Failed!\n");
- return;
- }
- else
- write_message ("Done!\n\nStarting module... ");
- int modres;
- if(sys_prx_start_module( prx_id, 0, NULL, &modres, 0, NULL) != CELL_OK)
- write_message ("Failed!\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement