mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +01:00
Fix sys_cond_destroy (#7931)
Dereference cond count in sys_cond_destroy
This commit is contained in:
parent
39796141fc
commit
3f559cd86e
@ -56,6 +56,7 @@ error_code sys_cond_destroy(ppu_thread& ppu, u32 cond_id)
|
||||
return CELL_EBUSY;
|
||||
}
|
||||
|
||||
cond.mutex->cond_count--;
|
||||
return {};
|
||||
});
|
||||
|
||||
|
@ -40,11 +40,6 @@ struct lv2_cond final : lv2_obj
|
||||
{
|
||||
this->mutex->cond_count++;
|
||||
}
|
||||
|
||||
~lv2_cond()
|
||||
{
|
||||
this->mutex->cond_count--;
|
||||
}
|
||||
};
|
||||
|
||||
class ppu_thread;
|
||||
|
Loading…
Reference in New Issue
Block a user