Improve vm::reservation_update

Only respect unique lock.
This commit is contained in:
Nekotekina 2020-10-11 17:18:40 +03:00
parent 2f329cf7b5
commit 1885e4345c
4 changed files with 19 additions and 18 deletions

View file

@ -4487,7 +4487,7 @@ bool ppu_interpreter::STW(ppu_thread& ppu, ppu_opcode_t op)
//Insomniac engine v3 & v4 (newer R&C, Fuse, Resitance 3)
if (value == 0xAAAAAAAA) [[unlikely]]
{
vm::reservation_update(vm::cast(addr, HERE), 128);
vm::reservation_update(vm::cast(addr, HERE));
}
return true;