mirror of https://github.com/PCSX2/pcsx2.git
Console: Fix newline logging regression
This commit is contained in:
parent
4eae1b7127
commit
2501d87840
|
@ -103,10 +103,7 @@ public:
|
||||||
{
|
{
|
||||||
// Ignore control characters.
|
// Ignore control characters.
|
||||||
// Otherwise you get fun bells going off.
|
// Otherwise you get fun bells going off.
|
||||||
if (ch < 0x20)
|
if (ch >= 0x20)
|
||||||
continue;
|
|
||||||
|
|
||||||
if (ch != '\n')
|
|
||||||
m_buffer.push_back(ch);
|
m_buffer.push_back(ch);
|
||||||
|
|
||||||
if (ch == '\n' || m_buffer.size() >= 4096)
|
if (ch == '\n' || m_buffer.size() >= 4096)
|
||||||
|
|
Loading…
Reference in New Issue