first commit
This commit is contained in:
commit
7297380378
4 changed files with 264 additions and 0 deletions
27
source/main.c
Normal file
27
source/main.c
Normal file
|
@ -0,0 +1,27 @@
|
|||
#include <3ds.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
gfxInitDefault();
|
||||
consoleInit(GFX_TOP, NULL);
|
||||
|
||||
printf("Hello, world!\n");
|
||||
printf("we fucken luv kitn!!\n");
|
||||
|
||||
// Main loop
|
||||
while (aptMainLoop()) {
|
||||
gspWaitForVBlank();
|
||||
gfxSwapBuffers();
|
||||
hidScanInput();
|
||||
|
||||
// Your code goes here
|
||||
u32 kDown = hidKeysDown();
|
||||
if (kDown & KEY_START)
|
||||
break; // break in order to return to hbmenu
|
||||
}
|
||||
|
||||
gfxExit();
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue