1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 12:42:41 +01:00

GUI: Always show thread name for fatal messages (#11090)

This commit is contained in:
Eladash 2021-10-31 14:24:41 +02:00 committed by GitHub
parent 5b0ef401f7
commit e31173e33e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ struct gui_listener : logs::listener
packet_t p,* _new = &p; packet_t p,* _new = &p;
_new->sev = msg; _new->sev = msg;
if (show_prefix && !prefix.empty()) if ((msg >= logs::level::fatal || show_prefix) && !prefix.empty())
{ {
_new->msg += "{"; _new->msg += "{";
_new->msg += prefix; _new->msg += prefix;