Advertisement
Guest User

safe code

a guest
Jul 6th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. // I know psp2/appmgr.h is needed. All others are probably not
  2. #include <psp2/ctrl.h>
  3. #include <psp2/kernel/processmgr.h>
  4. #include <psp2/rtc.h>
  5. #include <psp2/types.h>
  6. #include <psp2/touch.h>
  7. #include <psp2/io/fcntl.h>
  8. #include <psp2/io/dirent.h>
  9. #include <psp2/power.h>
  10. #include <psp2/appmgr.h>
  11.  
  12. #include <math.h>
  13. #include <stdio.h>
  14. #include <string.h>
  15. #include <stdlib.h>
  16. #include <unistd.h>
  17.  
  18. int main(int argc, char *argv[]){
  19. char* file = "app0:unsafeeboot.bin";
  20. sceAppMgrLoadExec(file, NULL, NULL);
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement