mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Quick sys_sm_get_params implementation
This commit is contained in:
parent
32116086b3
commit
e57f36fc5b
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue