From 5ac710a0a2f3cb4c209425ccdec1610135120014 Mon Sep 17 00:00:00 2001 From: fincs Date: Sat, 13 Jun 2020 22:49:52 +0200 Subject: [PATCH] console: Adjust for wide mode --- libctru/source/console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libctru/source/console.c b/libctru/source/console.c index d106599..e6a5d2b 100644 --- a/libctru/source/console.c +++ b/libctru/source/console.c @@ -554,11 +554,11 @@ PrintConsole* consoleInit(gfxScreen_t screen, PrintConsole* console) { console->frameBuffer = (u16*)gfxGetFramebuffer(screen, GFX_LEFT, NULL, NULL); if(screen==GFX_TOP) { - console->consoleWidth = 50; - console->windowWidth = 50; + bool isWide = gfxIsWide(); + console->consoleWidth = isWide ? 100 : 50; + console->windowWidth = isWide ? 100 : 50; } - consoleCls('2'); return currentConsole;