ensure mode changes
This commit is contained in:
parent
36f82b8bb8
commit
8e031b1080
@ -528,6 +528,9 @@ PrintConsole* consoleInit(gfxScreen_t screen, PrintConsole* console) {
|
|||||||
|
|
||||||
gfxSetScreenFormat(screen,GSP_RGB565_OES);
|
gfxSetScreenFormat(screen,GSP_RGB565_OES);
|
||||||
gfxSetDoubleBuffering(screen,false);
|
gfxSetDoubleBuffering(screen,false);
|
||||||
|
gfxSwapBuffers();
|
||||||
|
gspWaitForVBlank();
|
||||||
|
|
||||||
console->frameBuffer = (u16*)gfxGetFramebuffer(screen, GFX_LEFT, NULL, NULL);
|
console->frameBuffer = (u16*)gfxGetFramebuffer(screen, GFX_LEFT, NULL, NULL);
|
||||||
|
|
||||||
if(screen==GFX_TOP) {
|
if(screen==GFX_TOP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user