diff --git a/rpcs3/Emu/Cell/PPUFunction.cpp b/rpcs3/Emu/Cell/PPUFunction.cpp index 97be469051..2fee6c5b5d 100644 --- a/rpcs3/Emu/Cell/PPUFunction.cpp +++ b/rpcs3/Emu/Cell/PPUFunction.cpp @@ -329,7 +329,7 @@ extern std::string ppu_get_syscall_name(u64 code) case 520: return "sys_config_remove_service_listener"; case 521: return "sys_config_register_service"; case 522: return "sys_config_unregister_service"; - case 523: return "sys_config_io_event"; + case 523: return "sys_config_get_io_event"; case 524: return "sys_config_register_io_error_listener"; case 525: return "sys_config_unregister_io_error_listener"; case 530: return "sys_usbd_initialize"; diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index 7fc6e0b0c5..0b9bab3bd8 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -1386,6 +1386,7 @@ extern void ppu_initialize(const ppu_module& info) { "__stvlx", s_use_ssse3 ? (u64)&sse_cellbe_stvlx : (u64)&sse_cellbe_stvlx_v0 }, { "__stvrx", s_use_ssse3 ? (u64)&sse_cellbe_stvrx : (u64)&sse_cellbe_stvrx_v0 }, { "__resupdate", (u64)&vm::reservation_update }, + { "sys_config_io_event", (u64)ppu_get_syscall(523) }, }; for (u64 index = 0; index < 1024; index++) diff --git a/rpcs3/Emu/Cell/lv2/sys_config.cpp b/rpcs3/Emu/Cell/lv2/sys_config.cpp index 082a34d165..f5081ae5bf 100644 --- a/rpcs3/Emu/Cell/lv2/sys_config.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_config.cpp @@ -434,4 +434,4 @@ error_code sys_config_unregister_io_error_listener(u32 config_hdl) { sys_config.todo("sys_config_register_io_error_listener(config_hdl=0x%x)", config_hdl); return CELL_OK; -} \ No newline at end of file +} diff --git a/rpcs3/Emu/Cell/lv2/sys_config.h b/rpcs3/Emu/Cell/lv2/sys_config.h index c25aeeebb8..aa6064c7c1 100644 --- a/rpcs3/Emu/Cell/lv2/sys_config.h +++ b/rpcs3/Emu/Cell/lv2/sys_config.h @@ -430,4 +430,4 @@ public: // Following syscalls have not been REd yet /*523*/ error_code sys_config_get_io_event(u32 config_hdl, u32 event_id /*?*/, vm::ptr out_buf /*?*/, u64 size /*?*/); /*524*/ error_code sys_config_register_io_error_listener(u32 config_hdl); -/*525*/ error_code sys_config_unregister_io_error_listener(u32 config_hdl); \ No newline at end of file +/*525*/ error_code sys_config_unregister_io_error_listener(u32 config_hdl);