Skip to content

Commit

Permalink
Console: Fix newline logging regression
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoticgd committed Nov 28, 2024
1 parent 028e6cd commit 7445391
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pcsx2/DebugTools/Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ class ConsoleLogFromVM : public LogBase
{
// Ignore control characters.
// Otherwise you get fun bells going off.
if (ch < 0x20)
continue;

if (ch != '\n')
if (ch >= 0x20)
m_buffer.push_back(ch);

if (ch == '\n' || m_buffer.size() >= 4096)
Expand Down

0 comments on commit 7445391

Please sign in to comment.