25 lines
463 B
C++
25 lines
463 B
C++
#include <3ds.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
gfxInitDefault();
|
|
consoleInit(GFX_TOP, NULL);
|
|
|
|
printf("Test Code::Blocks project!");
|
|
|
|
printf("\x1b[20;15HPress Start to exit.");
|
|
|
|
while(aptMainLoop()) {
|
|
gspWaitForVBlank();
|
|
hidScanInput();
|
|
|
|
if(hidKeysDown() & KEY_START)
|
|
break;
|
|
|
|
gfxFlushBuffers();
|
|
gfxSwapBuffers();
|
|
}
|
|
|
|
gfxExit();
|
|
return 0;
|
|
}
|