1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

thread_ctrl::finalize crash fix

This commit is contained in:
Nekotekina 2017-03-13 13:14:34 +03:00
parent d09dd29054
commit c72a5a5775

View File

@ -1500,6 +1500,11 @@ void thread_ctrl::finalize(std::exception_ptr eptr) noexcept
const u64 time = 0;
#endif
g_tls_log_prefix = []
{
return g_tls_this_thread->m_name;
};
LOG_NOTICE(GENERAL, "Thread time: %fs (%fGc); Faults: %u [rsx:%u, spu:%u];",
time / 1000000000.,
cycles / 1000000000.,