mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
sys_spu Fixup after #6864
This commit is contained in:
parent
eda09489b2
commit
f41f5054f7
1 changed files with 2 additions and 1 deletions
|
@ -1090,13 +1090,14 @@ void spu_thread::cpu_stop()
|
||||||
}
|
}
|
||||||
else if (group && is_stopped())
|
else if (group && is_stopped())
|
||||||
{
|
{
|
||||||
|
ch_in_mbox.clear();
|
||||||
|
|
||||||
if (verify(HERE, group->running--) == 1)
|
if (verify(HERE, group->running--) == 1)
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
std::lock_guard lock(group->mutex);
|
std::lock_guard lock(group->mutex);
|
||||||
group->stop_count++;
|
group->stop_count++;
|
||||||
group->run_state = SPU_THREAD_GROUP_STATUS_INITIALIZED;
|
group->run_state = SPU_THREAD_GROUP_STATUS_INITIALIZED;
|
||||||
ch_in_mbox.clear();
|
|
||||||
|
|
||||||
if (!group->join_state)
|
if (!group->join_state)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue