mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Update console.c
This line needs to be inside the if statement, it being outside creates a bug which prevents the use of custom PrintConsoles, as it will force any custom PrintConsole to just be equal to the default console. It should only be ran if the default console is being used.
This commit is contained in:
parent
3b2d72a427
commit
7ad4120648
@ -590,9 +590,9 @@ PrintConsole* consoleInit(PrintConsole* console) {
|
||||
currentConsole = console;
|
||||
} else {
|
||||
console = currentConsole;
|
||||
*currentConsole = defaultConsole;
|
||||
}
|
||||
|
||||
*currentConsole = defaultConsole;
|
||||
|
||||
if (!console->renderer) {
|
||||
console->renderer = getDefaultConsoleRenderer();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user