From 862379d268278283b8370c6e73627a7fa4e109af Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Mon, 11 Aug 2025 07:11:34 -0400 Subject: [PATCH] maybe have a live feed idk --- source/main.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/main.c b/source/main.c index 901122b..f0b080b 100644 --- a/source/main.c +++ b/source/main.c @@ -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();