From 12fe55a2585be7abf0ec09dacd845354b8f73c29 Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 22 Jul 2023 17:46:29 +0300 Subject: [PATCH] Thread.cpp: Always print SPU thread name in access violation Suppress GUI log window prefix removal. --- Utilities/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 1fa5c301fd..3ab1566884 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -1635,7 +1635,7 @@ bool handle_access_violation(u32 addr, bool is_writing, ucontext_t* context) noe if (!g_tls_access_violation_recovered) { vm_log.notice("\n%s", dump_useful_thread_info()); - vm_log.error("Access violation %s location 0x%x (%s)", is_writing ? "writing" : "reading", addr, (is_writing && vm::check_addr(addr)) ? "read-only memory" : "unmapped memory"); + vm_log.error("[%s] Access violation %s location 0x%x (%s)", is_writing ? "writing" : "reading", cpu->get_name(), addr, (is_writing && vm::check_addr(addr)) ? "read-only memory" : "unmapped memory"); } // TODO: