1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

sys_usbd: add sys_usbd_event_port_send function

This commit is contained in:
scribam 2018-09-05 17:09:56 +02:00 committed by Ivan
parent ca5158a03e
commit 02ba529eea
4 changed files with 9 additions and 1 deletions

View File

@ -348,6 +348,7 @@ extern std::string ppu_get_syscall_name(u64 code)
case 546: return "sys_usbd_get_isochronous_transfer_status";
case 547: return "sys_usbd_get_device_location";
case 548: return "sys_usbd_send_event";
case 549: return "sys_usbd_event_port_send";
case 550: return "sys_usbd_allocate_memory";
case 551: return "sys_usbd_free_memory";
case 556: return "sys_usbd_get_device_speed";

View File

@ -518,7 +518,7 @@ const std::array<ppu_function_t, 1024> s_ppu_syscall_table
BIND_FUNC(sys_usbd_get_isochronous_transfer_status), //546 (0x222)
BIND_FUNC(sys_usbd_get_device_location), //547 (0x223)
BIND_FUNC(sys_usbd_send_event), //548 (0x224)
null_func,//BIND_FUNC(sys_ubsd_...) //549 (0x225)
BIND_FUNC(sys_usbd_event_port_send), //549 (0x225)
BIND_FUNC(sys_usbd_allocate_memory), //550 (0x226)
BIND_FUNC(sys_usbd_free_memory), //551 (0x227)
null_func,//BIND_FUNC(sys_ubsd_...) //552 (0x228)

View File

@ -265,6 +265,12 @@ s32 sys_usbd_send_event()
return CELL_OK;
}
s32 sys_usbd_event_port_send()
{
sys_usbd.todo("sys_usbd_event_port_send()");
return CELL_OK;
}
s32 sys_usbd_allocate_memory()
{
sys_usbd.todo("sys_usbd_allocate_memory()");

View File

@ -57,6 +57,7 @@ s32 sys_usbd_get_transfer_status();
s32 sys_usbd_get_isochronous_transfer_status();
s32 sys_usbd_get_device_location();
s32 sys_usbd_send_event();
s32 sys_usbd_event_port_send();
s32 sys_usbd_allocate_memory();
s32 sys_usbd_free_memory();
s32 sys_usbd_get_device_speed();