28 lines
505 B
C
28 lines
505 B
C
#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;
|
|
}
|