itd be nice to have space in the buffer before putting more stuff in it lol

This commit is contained in:
neon443 committed 2025-08-11 05:55:37 -04:00
1 parent 0502cffff9
commit da7d0ac1c7
1 file changed
+5 -3
+5 -3
View File
@@ -120,19 +120,21 @@ int main(int argc, char* argv[])
while (aptMainLoop())
{
hidScanInput();
// Your code goes here
u32 kDown = hidKeysDown();
if (kDown & KEY_START) {
printf("start presed\n");
takePicture(buf);
flushBuffs(buf);
gfxFlushBuffers();
gspWaitForVBlank();
gfxSwapBuffers();
takePicture(buf);
// break; // break in order to return to hbmenu
}
gfxSet3D(false);
writePicToFBuff(gfxGetFramebuffer(GFX_TOP, GFX_LEFT, NULL, NULL), buf, 0, 0);
gfxFlushBuffers();
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.