Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // CODE LICENSED UNDER THE DO WHATEVER THE FUCK YOU WANT TO DO LICENSE OR WHATEVER IT WAS CALLED LOL
- #include <3ds.h>
- #include <stdio.h>
- #define LOOPY_MAGIC 7200
- int main(void)
- {
- gfxInitDefault();
- consoleInit(GFX_TOP, NULL);
- printf("Slowhax Kernel Exploit\n"); // lol wut
- u32 num = 0;
- svcSleepThread(1000000000); // I have no clue how long this'll sleep for ...
- while(num <= LOOPY_MAGIC)
- {
- num++; // Increase num by 1
- printf("Exploitng... %d\r", num); // \r escape code overwrites the last line
- hidScanInput();
- if(hidKeysDown() & KEY_START) // If start is pressed, break out of the loop
- break;
- }
- printf("Exploit failed! Exploit did not run for enough time!\n Press START to exit"); // ye rite
- while (1)
- {
- hidScanInput();
- if(hidKeysDown() & KEY_START)
- break;
- }
- gfxExit();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement