Improve vm::range_lock

Not sure how it ever worked
Clear redundant vm::clear_range_lock usage
This commit is contained in:
Nekotekina 2020-10-31 19:17:38 +03:00
parent a42663b09b
commit 78c986b5dd
4 changed files with 48 additions and 18 deletions

View file

@ -1760,9 +1760,6 @@ static bool ppu_store_reservation(ppu_thread& ppu, u32 addr, u64 reg_value)
// Align address: we do not need the lower 7 bits anymore
addr &= -128;
// Wait for range locks to clear
vm::clear_range_locks(addr, 128);
// Cache line data
auto& cline_data = vm::_ref<spu_rdata_t>(addr);