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

Fix CPU Profiler regression

This commit is contained in:
Nekotekina 2021-07-27 09:26:43 +03:00
parent 77c191df42
commit 2f6db5802f

View File

@ -218,7 +218,7 @@ struct cpu_prof
// Cleanup and print results for deleted threads
for (auto it = threads.begin(), end = threads.end(); it != end;)
{
if (cpu_flag::exit - it->second.ptr->state)
if (cpu_flag::exit & it->second.ptr->state)
it->second.print(it->first), it = threads.erase(it);
else
it++;