diff --git a/libctru/source/gfx.c b/libctru/source/gfx.c index 2baafc3..32a9a0c 100644 --- a/libctru/source/gfx.c +++ b/libctru/source/gfx.c @@ -167,6 +167,13 @@ void gfxExit(void) if (screenFree == NULL) return; + if (gspHasGpuRight()) + { + // Wait for VBlank and turn the LCD off + gspWaitForVBlank(); + GSPGPU_SetLcdForceBlack(0x1); + } + // Free framebuffers screenFree(gfxTopFramebuffers[0]); screenFree(gfxTopFramebuffers[1]);