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).

This commit is contained in:
yellows8 2015-10-27 19:34:07 -04:00
parent ca356af42c
commit 76e47c02c8

View File

@ -528,7 +528,7 @@ PrintConsole* consoleInit(gfxScreen_t screen, PrintConsole* console) {
gfxSetScreenFormat(screen,GSP_RGB565_OES); gfxSetScreenFormat(screen,GSP_RGB565_OES);
gfxSetDoubleBuffering(screen,false); gfxSetDoubleBuffering(screen,false);
gfxSwapBuffers(); gfxSwapBuffersGpu();
gspWaitForVBlank(); gspWaitForVBlank();
console->frameBuffer = (u16*)gfxGetFramebuffer(screen, GFX_LEFT, NULL, NULL); console->frameBuffer = (u16*)gfxGetFramebuffer(screen, GFX_LEFT, NULL, NULL);