mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
lv2: Add missing reservation disowning in lv2_obj::yield
This commit is contained in:
parent
e7fc2bfa3b
commit
f7b55ec8d4
@ -1210,6 +1210,12 @@ bool lv2_obj::awake(cpu_thread* const thread, s32 prio)
|
||||
bool lv2_obj::yield(cpu_thread& thread)
|
||||
{
|
||||
vm::temporary_unlock(thread);
|
||||
|
||||
if (auto ppu = thread.try_get<ppu_thread>())
|
||||
{
|
||||
ppu->raddr = 0; // Clear reservation
|
||||
}
|
||||
|
||||
return awake(&thread, yield_cmd);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user