mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Fix remaining vm::reservation_lock usages (for now)
Optimization can be restored later.
This commit is contained in:
parent
7a76fb1469
commit
dcff8c2637
3 changed files with 6 additions and 6 deletions
|
@ -2029,11 +2029,11 @@ bool spu_thread::do_putllc(const spu_mfc_cmd& args)
|
|||
if (cmp_rdata(rdata, super_data))
|
||||
{
|
||||
mov_rdata(super_data, to_write);
|
||||
res.release(rtime + 128);
|
||||
res += 64;
|
||||
return true;
|
||||
}
|
||||
|
||||
res.release(rtime);
|
||||
res -= 64;
|
||||
return false;
|
||||
}();
|
||||
|
||||
|
@ -2102,7 +2102,7 @@ void do_cell_atomic_128_store(u32 addr, const void* to_write)
|
|||
// TODO: vm::check_addr
|
||||
vm::writer_lock lock(addr);
|
||||
mov_rdata(super_data, *static_cast<const spu_rdata_t*>(to_write));
|
||||
res.release(time0 + 128);
|
||||
res += 64;
|
||||
}
|
||||
|
||||
if (render) render->unpause();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue