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();
|
||||
|
||||
takePicture(buf);
|
||||
writePicToFBuff(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), buf, 0, 0);
|
||||
|
||||
// Your code goes here
|
||||
u32 kDown = hidKeysDown();
|
||||
if (kDown & KEY_R) {
|
||||
@@ -129,13 +132,15 @@ int main(int argc, char* argv[])
|
||||
gspWaitForVBlank();
|
||||
gfxSwapBuffers();
|
||||
|
||||
takePicture(buf);
|
||||
|
||||
getColor(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), 200, 120);
|
||||
// break; // break in order to return to hbmenu
|
||||
}
|
||||
|
||||
gfxSet3D(false);
|
||||
writePicToFBuff(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), buf, 0, 0);
|
||||
getColor(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), 200, 120);
|
||||
// writePicToFBuff(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), buf, 0, 0);
|
||||
|
||||
// takePicture(buf);
|
||||
|
||||
gfxFlushBuffers();
|
||||
gspWaitForVBlank();
|
||||
|
||||
Reference in New Issue
Block a user