From c646476ca8076727a9f290b51b94cd1d8f74e1c4 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 21 May 2021 00:02:38 +0300 Subject: [PATCH] logs.hpp: another fixup for RPCS3.log Don't print channel names for initial messages. --- rpcs3/util/logs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/util/logs.cpp b/rpcs3/util/logs.cpp index b4d9ec2213..4ed46e7a2b 100644 --- a/rpcs3/util/logs.cpp +++ b/rpcs3/util/logs.cpp @@ -658,7 +658,7 @@ void logs::file_listener::log(u64 stamp, const logs::message& msg, const std::st text += "} "; } - if (msg->name && '\0' != *msg->name) + if (stamp && msg->name && '\0' != *msg->name) { text += msg->name; text += msg == level::todo ? " TODO: " : ": ";