Fix race on cellVdecClose TLS cleanup

This commit is contained in:
Eladash 2019-08-12 07:58:13 +03:00 committed by Ivan
parent 30c72b105e
commit a4896eb6df
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ static void vdecEntry(ppu_thread& ppu, u32 vid)
{
idm::get<vdec_context>(vid)->exec(ppu, vid);
_sys_ppu_thread_exit(ppu, 0);
ppu.state += cpu_flag::exit;
}
static u32 vdecQueryAttr(s32 type, u32 profile, u32 spec_addr /* may be 0 */, vm::ptr<CellVdecAttr> attr)