lv2: Do not lose r3 data on syscalls

Allows to get the ID of the lv2 sync objects in the debugger by looking at r3's content.
This commit is contained in:
Eladash 2020-03-22 10:35:35 +02:00 committed by Ivan
parent f1cf62ac57
commit dc839e1784
5 changed files with 6 additions and 2 deletions

View file

@ -28,7 +28,7 @@ error_code sys_spinlock_lock(ppu_thread& ppu, vm::ptr<atomic_be_t<u32>> lock)
}
}
return not_an_error(ppu.gpr[3]);
return CELL_OK;
}
s32 sys_spinlock_trylock(vm::ptr<atomic_be_t<u32>> lock)