mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
Partial revert of 3be687cd18
This commit is contained in:
parent
98ab5d5ba2
commit
a505d87565
2 changed files with 5 additions and 16 deletions
|
@ -1045,21 +1045,10 @@ static T ppu_load_acquire_reservation(ppu_thread& ppu, u32 addr)
|
|||
}
|
||||
}())
|
||||
{
|
||||
ppu.rtime = vm::reservation_acquire(addr, sizeof(T));
|
||||
|
||||
if (ppu.rtime & 127)
|
||||
{
|
||||
if (!(ppu.state & cpu_flag::wait))
|
||||
{
|
||||
ppu.state += cpu_flag::wait;
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
ppu.rtime = vm::reservation_acquire(addr, sizeof(T)) & -128;
|
||||
ppu.rdata = data;
|
||||
|
||||
if (vm::reservation_acquire(addr, sizeof(T)) == ppu.rtime) [[likely]]
|
||||
if ((vm::reservation_acquire(addr, sizeof(T)) & -128) == ppu.rtime) [[likely]]
|
||||
{
|
||||
ppu.test_stopped();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue