|
|
#142 | |
|
Homebrew Developer
![]() Join Date: Sep 2010
Location: Puerto Rico, U.S.
Posts: 906
Likes: 1,066
Liked 2,021 Times in 512 Posts
Mentioned: 347 Post(s)
Tagged: 0 Thread(s)
|
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!
__________________
gamePKG / FB Alpha RL - [ https://github.com/CaptainCPS ]
FB ALPHA DEV TEAM - [ http://neosource.1emu.net ] [ http://www.barryharris.me.uk/ ] PS3 - [CECH-2501A][NOR][160GB HDD][REBUG CFW 4.41.2 LITE] |
|
|
|
|
|
|
#143 | |
|
Senior Member
![]() Join Date: Aug 2011
Posts: 1,269
Likes: 178
Liked 838 Times in 391 Posts
Mentioned: 59 Post(s)
Tagged: 0 Thread(s)
|
sys_prx_id_t * prx_id |
|
|
|
|
|
|
#144 | ||
|
Member
![]() Join Date: Feb 2011
Posts: 903
Likes: 303
Liked 447 Times in 296 Posts
Mentioned: 79 Post(s)
Tagged: 0 Thread(s)
|
The thing with structures is that they can be passed by value in ANSI C in function calls, but that is immensely ineffective, pushing all the members of the struct on the stack before the method call is invoked, etc ( ._.) So normally you end up passing the structure by reference in function calls, and well, then you work on a structure pointer anyway at that point, as you declared. ![]() So, the later line of code: prx_id = sys_prx_load_module(PATH_PRX,0, NULL); Actually returns a struct and not an address to one, I guess (another thing of ANSI C, returning structs by value are also allowed). Last edited by oPolo; 08-24-2012 at 06:26 PM. |
||
|
|
|
|
|
#145 | |
|
Senior Member
![]() Join Date: Aug 2011
Posts: 1,269
Likes: 178
Liked 838 Times in 391 Posts
Mentioned: 59 Post(s)
Tagged: 0 Thread(s)
|
|
|
|
|
|
|
|
#146 |
|
Senior Member
![]() Join Date: Sep 2010
Location: Hell
Posts: 1,860
Likes: 152
Liked 423 Times in 271 Posts
Mentioned: 25 Post(s)
Tagged: 0 Thread(s)
|
Another lazy doochebag. I got it working.
|
|
|
|
|
|
#147 |
|
Member
![]() Join Date: Jul 2012
Posts: 72
Likes: 0
Liked 36 Times in 22 Posts
Mentioned: 6 Post(s)
Tagged: 0 Thread(s)
|
It works on my 3.55 DEX ... But i can't get dev_blind via pkg or MM working on dex 4.20, any suggestions... ?
|
|
|
|
|
|
#148 |
|
Apprentice
![]() Join Date: Jan 2011
Posts: 17
Likes: 0
Liked 0 Times in 0 Posts
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
|
I tried with fifa 12, and give a error (80010017) back to xmb
|
|
|
|
|
|
#149 | |
|
Senior Member
![]() Join Date: Aug 2011
Location: Inside your mind
Posts: 1,943
Likes: 1,040
Liked 1,381 Times in 750 Posts
Mentioned: 209 Post(s)
Tagged: 0 Thread(s)
|
|
|
|
|
|
|
|
#150 | |
|
Member
![]() |
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|