mirror of
https://github.com/neon443/ColourCam3DS.git
synced 2026-03-11 13:26:17 +00:00
press start to exit
This commit is contained in:
@@ -124,6 +124,9 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
// Your code goes here
|
// Your code goes here
|
||||||
u32 kDown = hidKeysDown();
|
u32 kDown = hidKeysDown();
|
||||||
|
if(kDown & KEY_START) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (kDown & KEY_R) {
|
if (kDown & KEY_R) {
|
||||||
printf("start presed\n");
|
printf("start presed\n");
|
||||||
buf = flushBuffs(buf);
|
buf = flushBuffs(buf);
|
||||||
@@ -132,7 +135,6 @@ int main(int argc, char* argv[])
|
|||||||
gspWaitForVBlank();
|
gspWaitForVBlank();
|
||||||
gfxSwapBuffers();
|
gfxSwapBuffers();
|
||||||
|
|
||||||
|
|
||||||
getColor(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), 200, 120);
|
getColor(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), 200, 120);
|
||||||
// break; // break in order to return to hbmenu
|
// break; // break in order to return to hbmenu
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user