Originally Posted by H3avyRa1n
can someone take a look at this line in the source code? I don't get what was intended here:
void loader_sprx(const char* PATH_PRX)
{
sys_prx_id_t prx_id ;
write_message ("Loading a prx ... ");
prx_id = sys_prx_load_module(PATH_PRX,0, NULL);
if (prx_id < CELL_OK) {
write_message ("Failed LOADING\n");
return;
}
I really don't get it.
|
I haven't read the whole thread but, this part is supposed to initialize a '
sys_prx_id_t' structure / variable named '
prx_id'.
Now, this part: '
prx_id = sys_prx_load_module(PATH_PRX,0, NULL);' will try to load the PRX file and any returned value will be stored in '
prx_id'.
If the returned value into '
prx_id' is lower than '
CELL_OK', that means it is
0, or failed.
SeeYa!