mirror of
https://github.com/neon443/ColourCam3DS.git
synced 2026-03-11 05:19:13 +00:00
maybe have a live feed idk
This commit is contained in:
@@ -119,6 +119,9 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
hidScanInput();
|
hidScanInput();
|
||||||
|
|
||||||
|
takePicture(buf);
|
||||||
|
writePicToFBuff(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), buf, 0, 0);
|
||||||
|
|
||||||
// Your code goes here
|
// Your code goes here
|
||||||
u32 kDown = hidKeysDown();
|
u32 kDown = hidKeysDown();
|
||||||
if (kDown & KEY_R) {
|
if (kDown & KEY_R) {
|
||||||
@@ -129,13 +132,15 @@ int main(int argc, char* argv[])
|
|||||||
gspWaitForVBlank();
|
gspWaitForVBlank();
|
||||||
gfxSwapBuffers();
|
gfxSwapBuffers();
|
||||||
|
|
||||||
takePicture(buf);
|
|
||||||
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
gfxSet3D(false);
|
gfxSet3D(false);
|
||||||
writePicToFBuff(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), buf, 0, 0);
|
// writePicToFBuff(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), buf, 0, 0);
|
||||||
getColor(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), 200, 120);
|
|
||||||
|
// takePicture(buf);
|
||||||
|
|
||||||
gfxFlushBuffers();
|
gfxFlushBuffers();
|
||||||
gspWaitForVBlank();
|
gspWaitForVBlank();
|
||||||
|
|||||||
Reference in New Issue
Block a user