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:
parent
ca356af42c
commit
76e47c02c8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user