diff --git a/rpcs3/Emu/Cell/lv2/sys_sm.cpp b/rpcs3/Emu/Cell/lv2/sys_sm.cpp index d4bf3009e9..8ccf2221dc 100644 --- a/rpcs3/Emu/Cell/lv2/sys_sm.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_sm.cpp @@ -12,6 +12,11 @@ error_code sys_sm_get_params(vm::ptr a, vm::ptr b, vm::ptr 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; }