Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. void loader_sprx(const char* PATH_PRX)
  2. {
  3.   sys_prx_id_t prx_id ;
  4.   write_message ("Loading original prx... ");
  5.   prx_id = sys_prx_load_module(PATH_PRX, 0, NULL);
  6.   if (prx_id <= CELL_OK)
  7.   {
  8.     write_message ("Failed!\n");
  9.     return;
  10.   }
  11.   else
  12.     write_message ("Done!\n\nStarting module... ");
  13.  
  14.   int modres;
  15.   if(sys_prx_start_module( prx_id, 0, NULL, &modres, 0, NULL) != CELL_OK)
  16.     write_message ("Failed!\n");
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement