mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-04 20:15:09 +01:00
console changes
This commit is contained in:
parent
8b13550b72
commit
9163d46529
@ -2,6 +2,11 @@
|
||||
|
||||
#ifdef _3DS
|
||||
#include <3ds.h>
|
||||
#elif defined(SWITCH)
|
||||
#include <switch.h>
|
||||
#endif
|
||||
|
||||
#if defined(_3DS) || defined(SWITCH)
|
||||
#define ESC(x) "\x1b[" #x
|
||||
#define RESET ESC(0m)
|
||||
#define BLACK ESC(30m)
|
||||
|
@ -206,10 +206,10 @@ void
|
||||
console_init(void)
|
||||
{
|
||||
consoleInit(&status_console);
|
||||
consoleSetWindow(&status_console, 0, 0, 50, 1);
|
||||
consoleSetWindow(&status_console, 0, 0, 160+10, 1);
|
||||
|
||||
consoleInit( &main_console);
|
||||
consoleSetWindow(&main_console, 0, 1, 50, 29);
|
||||
consoleSetWindow(&main_console, 0, 1, 160+10, 90-1);
|
||||
|
||||
consoleSelect(&main_console);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user