mlx3ds/source/main.cpp
2024-10-04 18:20:33 +02:00

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;
}