mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
sys_sm_get_ext_event2 stub
This commit is contained in:
parent
1e9afdc289
commit
1e605de31e
1 changed files with 15 additions and 1 deletions
|
@ -24,7 +24,21 @@ error_code sys_sm_get_ext_event2(vm::ptr<u64> a1, vm::ptr<u64> a2, vm::ptr<u64>
|
||||||
{
|
{
|
||||||
sys_sm.todo("sys_sm_get_ext_event2(a1=*0x%x, a2=*0x%x, a3=*0x%x, a4=*0x%x, a4=0x%xll", a1, a2, a3, a4);
|
sys_sm.todo("sys_sm_get_ext_event2(a1=*0x%x, a2=*0x%x, a3=*0x%x, a4=*0x%x, a4=0x%xll", a1, a2, a3, a4);
|
||||||
|
|
||||||
return CELL_OK;
|
if (a4 != 0 && a4 != 1)
|
||||||
|
{
|
||||||
|
return CELL_EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
// a1 == 7 - 'console too hot, restart'
|
||||||
|
// a2 looks to be used if a1 is either 5 or 3?
|
||||||
|
// a3 looks to be ignored in vsh
|
||||||
|
|
||||||
|
if (a1) *a1 = 0; else return CELL_EFAULT;
|
||||||
|
if (a2) *a2 = 0; else return CELL_EFAULT;
|
||||||
|
if (a3) *a3 = 0; else return CELL_EFAULT;
|
||||||
|
|
||||||
|
// eagain for no event
|
||||||
|
return not_an_error(CELL_EAGAIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
error_code sys_sm_shutdown(u16 op, vm::ptr<void> param, u64 size)
|
error_code sys_sm_shutdown(u16 op, vm::ptr<void> param, u64 size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue