logs.hpp: another fixup for RPCS3.log

Don't print channel names for initial messages.
This commit is contained in:
Nekotekina 2021-05-21 00:02:38 +03:00
parent de94f6c2f6
commit c646476ca8

View file

@ -658,7 +658,7 @@ void logs::file_listener::log(u64 stamp, const logs::message& msg, const std::st
text += "} "; text += "} ";
} }
if (msg->name && '\0' != *msg->name) if (stamp && msg->name && '\0' != *msg->name)
{ {
text += msg->name; text += msg->name;
text += msg == level::todo ? " TODO: " : ": "; text += msg == level::todo ? " TODO: " : ": ";