Skip to content

Commit

Permalink
SPU: Optimize cellSpurs reservations
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Oct 11, 2024
1 parent 8fac136 commit d1b5652
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rpcs3/Emu/Cell/SPUThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3899,7 +3899,11 @@ bool spu_thread::do_putllc(const spu_mfc_cmd& args)
{
if (raddr)
{
vm::reservation_notifier_notify(addr);
if (raddr != spurs_addr || pc != 0x11e4 || ((static_cast<u8>(rdata[0x73]) & (1u << index)) != 0 && (_ref<u8>((args.lsa & 0x3ff80) + 0x73) & (1u << index))))
{
vm::reservation_notifier_notify(addr);
}

raddr = 0;
}

Expand Down

0 comments on commit d1b5652

Please sign in to comment.