mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-10-02 06:10:00 +00:00
Damned fix for damned terraria
This commit is contained in:
parent
ba5e2e3f0f
commit
92c9a0a9aa
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ s32 sys_rwlock_create(vm::ptr<u32> rw_lock_id, vm::ptr<sys_rwlock_attribute_t> a
|
||||||
{
|
{
|
||||||
sys_rwlock.Warning("sys_rwlock_create(rw_lock_id_addr=0x%x, attr_addr=0x%x)", rw_lock_id.addr(), attr.addr());
|
sys_rwlock.Warning("sys_rwlock_create(rw_lock_id_addr=0x%x, attr_addr=0x%x)", rw_lock_id.addr(), attr.addr());
|
||||||
|
|
||||||
|
if (!attr)
|
||||||
|
{
|
||||||
|
sys_rwlock.Error("sys_rwlock_create(): null attr address");
|
||||||
|
return CELL_EFAULT;
|
||||||
|
}
|
||||||
|
|
||||||
switch (attr->protocol.ToBE())
|
switch (attr->protocol.ToBE())
|
||||||
{
|
{
|
||||||
case se32(SYS_SYNC_PRIORITY): break;
|
case se32(SYS_SYNC_PRIORITY): break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue