diff --git a/nx/source/runtime/devices/console.c b/nx/source/runtime/devices/console.c index b0aa6d02..60d1878b 100644 --- a/nx/source/runtime/devices/console.c +++ b/nx/source/runtime/devices/console.c @@ -529,14 +529,6 @@ static ssize_t con_write(struct _reent *r,void *fd,const char *ptr, size_t len) else currentConsole->flags &= ~CONSOLE_BG_CUSTOM; - if (!custom && currentConsole->bg < 16) { - currentConsole->flags &= ~CONSOLE_COLOR_FAINT; - if (currentConsole->bg < 8) - currentConsole->flags &= ~CONSOLE_COLOR_BOLD; - else - currentConsole->flags |= CONSOLE_COLOR_BOLD; - } - // consume next ; or m ++escapeseq; --escapelen; diff --git a/nx/source/runtime/devices/console_sw.c b/nx/source/runtime/devices/console_sw.c index 91fd9f7f..5a9d5a86 100644 --- a/nx/source/runtime/devices/console_sw.c +++ b/nx/source/runtime/devices/console_sw.c @@ -123,13 +123,7 @@ static void ConsoleSwRenderer_drawChar(PrintConsole* con, int x, int y, int c) } if (!(con->flags & CONSOLE_BG_CUSTOM)) { - if (con->flags & CONSOLE_COLOR_BOLD) { - bg = colorTable[bg + 8]; - } else if (con->flags & CONSOLE_COLOR_FAINT) { - bg = colorTable[bg + 16]; - } else { - bg = colorTable[bg]; - } + bg = colorTable[bg]; } if (con->flags & CONSOLE_COLOR_REVERSE) {