mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
SPU: fix PUTLLUC accuracy
This commit is contained in:
parent
9fe03a94d8
commit
a5f4e6ecef
@ -1006,6 +1006,12 @@ void SPUThread::do_putlluc(const spu_mfc_cmd& args)
|
||||
else
|
||||
{
|
||||
auto& res = vm::reservation_lock(addr, 128);
|
||||
|
||||
vm::_ref<atomic_t<u32>>(addr) += 0;
|
||||
|
||||
// Full lock (heavyweight)
|
||||
// TODO: vm::check_addr
|
||||
vm::writer_lock lock(1);
|
||||
data = to_write;
|
||||
vm::reservation_update(addr, 128);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user