mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-10 11:36:39 +00:00
Fix CPU Profiler regression
This commit is contained in:
parent
77c191df42
commit
2f6db5802f
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ struct cpu_prof
|
||||||
// Cleanup and print results for deleted threads
|
// Cleanup and print results for deleted threads
|
||||||
for (auto it = threads.begin(), end = threads.end(); it != end;)
|
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);
|
it->second.print(it->first), it = threads.erase(it);
|
||||||
else
|
else
|
||||||
it++;
|
it++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue