Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial sys_config implementation #5781

Merged
merged 1 commit into from Jul 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 11 additions & 10 deletions rpcs3/Emu/Cell/lv2/lv2.cpp
Expand Up @@ -35,6 +35,7 @@
#include "sys_gamepad.h"
#include "sys_ss.h"
#include "sys_gpio.h"
#include "sys_config.h"

extern std::string ppu_get_syscall_name(u64 code);

Expand Down Expand Up @@ -490,16 +491,16 @@ const std::array<ppu_function_t, 1024> s_ppu_syscall_table
null_func,//BIND_FUNC(sys_hid_manager_...) //513 (0x201)
null_func,//BIND_FUNC(sys_hid_manager_...) //514 (0x202)
uns_func, //515 (0x203) UNS
null_func,//BIND_FUNC(sys_config_open) //516 (0x204)
null_func,//BIND_FUNC(sys_config_close) //517 (0x205)
null_func,//BIND_FUNC(sys_config_get_service_event) //518 (0x206)
null_func,//BIND_FUNC(sys_config_add_service_listener) //519 (0x207)
null_func,//BIND_FUNC(sys_config_remove_service_listener) //520 (0x208)
null_func,//BIND_FUNC(sys_config_register_service) //521 (0x209)
null_func,//BIND_FUNC(sys_config_unregister_service) //522 (0x20A)
null_func,//BIND_FUNC(sys_config_io_event) //523 (0x20B)
null_func,//BIND_FUNC(sys_config_register_io_error_listener) //524 (0x20C)
null_func,//BIND_FUNC(sys_config_unregister_io_error_listener) //525 (0x20D)
BIND_FUNC(sys_config_open), //516 (0x204)
BIND_FUNC(sys_config_close), //517 (0x205)
BIND_FUNC(sys_config_get_service_event), //518 (0x206)
BIND_FUNC(sys_config_add_service_listener), //519 (0x207)
BIND_FUNC(sys_config_remove_service_listener), //520 (0x208)
BIND_FUNC(sys_config_register_service), //521 (0x209)
BIND_FUNC(sys_config_unregister_service), //522 (0x20A)
BIND_FUNC(sys_config_get_io_event), //523 (0x20B)
BIND_FUNC(sys_config_register_io_error_listener), //524 (0x20C)
BIND_FUNC(sys_config_unregister_io_error_listener), //525 (0x20D)
uns_func, uns_func, uns_func, uns_func, //526-529 UNS
BIND_FUNC(sys_usbd_initialize), //530 (0x212)
BIND_FUNC(sys_usbd_finalize), //531 (0x213)
Expand Down