From: yellows8 Date: Tue, 27 Oct 2015 23:34:07 +0000 (-0400) Subject: Changed gfxSwapBuffers() to gfxSwapBuffersGpu() in consoleInit(). This fixes the... X-Git-Tag: v0.6.0~4 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=76e47c02c807f6dc774bfe3101a4d3f83dcb0ed7;p=corbenik%2Fctrulib.git Changed gfxSwapBuffers() to gfxSwapBuffersGpu() in consoleInit(). This fixes the black-screen issue with the text-console on certain systems(such as old3ds v9.0-v9.2). --- diff --git a/libctru/source/console.c b/libctru/source/console.c index e7ea8bd..e195638 100644 --- a/libctru/source/console.c +++ b/libctru/source/console.c @@ -528,7 +528,7 @@ PrintConsole* consoleInit(gfxScreen_t screen, PrintConsole* console) { gfxSetScreenFormat(screen,GSP_RGB565_OES); gfxSetDoubleBuffering(screen,false); - gfxSwapBuffers(); + gfxSwapBuffersGpu(); gspWaitForVBlank(); console->frameBuffer = (u16*)gfxGetFramebuffer(screen, GFX_LEFT, NULL, NULL);