mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Bugfix after #12523
This commit is contained in:
parent
ee87fdc869
commit
9d8f4d5cfa
1 changed files with 7 additions and 2 deletions
|
@ -2821,8 +2821,13 @@ bool spu_thread::do_putllc(const spu_mfc_cmd& args)
|
|||
if (cmp_rdata(to_write, rdata))
|
||||
{
|
||||
// Writeback of unchanged data. Only check memory change
|
||||
raddr = 0; // Disable notification
|
||||
return cmp_rdata(rdata, vm::_ref<spu_rdata_t>(addr)) && res.compare_and_swap_test(rtime, rtime + 128);
|
||||
if (cmp_rdata(rdata, vm::_ref<spu_rdata_t>(addr)) && res.compare_and_swap_test(rtime, rtime + 128))
|
||||
{
|
||||
raddr = 0; // Disable notification
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
auto [_oldd, _ok] = res.fetch_op([&](u64& r)
|
||||
|
|
Loading…
Add table
Reference in a new issue