mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 18:40:36 +00:00
Quick sys_sm_get_params implementation
This commit is contained in:
parent
32116086b3
commit
e57f36fc5b
@ -12,6 +12,11 @@ error_code sys_sm_get_params(vm::ptr<u8> a, vm::ptr<u8> b, vm::ptr<u32> c, vm::p
|
||||
{
|
||||
sys_sm.todo("sys_sm_get_params(a=*0x%x, b=*0x%x, c=*0x%x, d=*0x%x)", a, b, c, d);
|
||||
|
||||
if (a) *a = 0; else return CELL_EFAULT;
|
||||
if (b) *b = 0; else return CELL_EFAULT;
|
||||
if (c) *c = 0x200; else return CELL_EFAULT;
|
||||
if (d) *d = 7; else return CELL_EFAULT;
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user