Changes

28 bytes added ,  18:21, 7 February 2017
Line 49: Line 49:  
Exactly 1 new function was added, L_106058:
 
Exactly 1 new function was added, L_106058:
 
* This function is just the code mentioned above that was moved into here, with some new code:
 
* This function is just the code mentioned above that was moved into here, with some new code:
 +
** val=0;
 
** [[SVC|svcGetProcessInfo]] with type19 is used with the handle from inr2.
 
** [[SVC|svcGetProcessInfo]] with type19 is used with the handle from inr2.
** val=0;
+
** if(above_svc_succeeded){if((procinfo_outu32 & 0xF00) != 0x100)val=1;}//check for memregionid!=APPLICATION
** if((procinfo_outu32 & 0xF00) != 0x100)val=1;//check for memregionid!=APPLICATION
+
** val is passed to the new [[SVC]] 0x59 as s8 r0.
** val is passed to the new [[SVC]] 0x59 as r0.
   
** Lastly it will execute throw_fatalerr() on error.
 
** Lastly it will execute throw_fatalerr() on error.