mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-08 11:10:09 +00:00
Bus: Use log colour abstraction for TTY
This commit is contained in:
parent
9e045755a6
commit
36518a8df5
@ -945,7 +945,7 @@ void Bus::AddTTYCharacter(char ch)
|
||||
{
|
||||
if (!s_tty_line_buffer.empty())
|
||||
{
|
||||
Log::FastWrite(Log::Channel::TTY, Log::Level::Info, "\033[1;34m{}\033[0m", s_tty_line_buffer);
|
||||
Log::FastWrite(Log::Channel::TTY, Log::Level::Info, Log::Color::StrongBlue, s_tty_line_buffer);
|
||||
#if defined(_DEBUG) || defined(_DEVEL)
|
||||
if (CPU::IsTraceEnabled())
|
||||
CPU::WriteToExecutionLog("TTY: %s\n", s_tty_line_buffer.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user