diff --git a/rpcs3/Emu/Cell/PPUFunction.cpp b/rpcs3/Emu/Cell/PPUFunction.cpp index d1c0980d8a..1eba98a640 100644 --- a/rpcs3/Emu/Cell/PPUFunction.cpp +++ b/rpcs3/Emu/Cell/PPUFunction.cpp @@ -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"; diff --git a/rpcs3/Emu/Cell/lv2/lv2.cpp b/rpcs3/Emu/Cell/lv2/lv2.cpp index 4dc2d1e425..279a2ddae7 100644 --- a/rpcs3/Emu/Cell/lv2/lv2.cpp +++ b/rpcs3/Emu/Cell/lv2/lv2.cpp @@ -518,7 +518,7 @@ const std::array 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) diff --git a/rpcs3/Emu/Cell/lv2/sys_usbd.cpp b/rpcs3/Emu/Cell/lv2/sys_usbd.cpp index 99ef850799..8f3b421095 100644 --- a/rpcs3/Emu/Cell/lv2/sys_usbd.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_usbd.cpp @@ -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()"); diff --git a/rpcs3/Emu/Cell/lv2/sys_usbd.h b/rpcs3/Emu/Cell/lv2/sys_usbd.h index 6208b6df9e..a38545f9b4 100644 --- a/rpcs3/Emu/Cell/lv2/sys_usbd.h +++ b/rpcs3/Emu/Cell/lv2/sys_usbd.h @@ -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();