Advertisement
Guest User

lol haven't even tested it

a guest
May 26th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. // CODE LICENSED UNDER THE DO WHATEVER THE FUCK YOU WANT TO DO LICENSE OR WHATEVER IT WAS CALLED LOL
  2.  
  3. #include <3ds.h>
  4. #include <stdio.h>
  5.  
  6. #define LOOPY_MAGIC 7200
  7.  
  8. int main(void)
  9. {
  10. gfxInitDefault();
  11. consoleInit(GFX_TOP, NULL);
  12.  
  13. printf("Slowhax Kernel Exploit\n"); // lol wut
  14.  
  15. u32 num = 0;
  16.  
  17. svcSleepThread(1000000000); // I have no clue how long this'll sleep for ...
  18.  
  19. while(num <= LOOPY_MAGIC)
  20. {
  21. num++; // Increase num by 1
  22. printf("Exploitng... %d\r", num); // \r escape code overwrites the last line
  23. hidScanInput();
  24.  
  25. if(hidKeysDown() & KEY_START) // If start is pressed, break out of the loop
  26. break;
  27. }
  28.  
  29. printf("Exploit failed! Exploit did not run for enough time!\n Press START to exit"); // ye rite
  30.  
  31. while (1)
  32. {
  33. hidScanInput();
  34.  
  35. if(hidKeysDown() & KEY_START)
  36. break;
  37. }
  38.  
  39. gfxExit();
  40.  
  41. return 0;
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement