From dca6f1f8634cbc5784b81c372964ea1afa4a844f Mon Sep 17 00:00:00 2001 From: Maxetto Date: Sun, 6 May 2018 12:21:50 +0200 Subject: [PATCH] Update some lv2 syscall names (#4490) --- rpcs3/Emu/Cell/PPUFunction.cpp | 3 +-- rpcs3/Emu/Cell/lv2/lv2.cpp | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/rpcs3/Emu/Cell/PPUFunction.cpp b/rpcs3/Emu/Cell/PPUFunction.cpp index d46c2a3421..a4bfa9070d 100644 --- a/rpcs3/Emu/Cell/PPUFunction.cpp +++ b/rpcs3/Emu/Cell/PPUFunction.cpp @@ -347,7 +347,6 @@ extern std::string ppu_get_syscall_name(u64 code) case 573: return "sys_pad_dbg_ldd_set_data_insert_mode"; case 574: return "sys_pad_ldd_register_controller"; case 575: return "sys_pad_ldd_get_port_no"; - case 577: return "sys_pad_manager_..."; case 600: return "sys_storage_open"; case 601: return "sys_storage_close"; case 602: return "sys_storage_read"; @@ -486,7 +485,6 @@ extern std::string ppu_get_syscall_name(u64 code) case 874: return "sys_ss_get_cache_of_flash_ext_flag"; case 875: return "sys_ss_get_boot_device"; case 876: return "sys_ss_disc_access_control"; - case 877: return "sys_ss_~utoken_if"; case 878: return "sys_ss_ad_sign"; case 879: return "sys_ss_media_id"; case 880: return "sys_deci3_open"; @@ -554,6 +552,7 @@ extern std::string ppu_get_syscall_name(u64 code) case 954: return "sys_dbg_vm_get_info"; case 955: return "sys_dbg_enable_floating_point_enabled_exception"; case 956: return "sys_dbg_disable_floating_point_enabled_exception"; + case 957: return "sys_dbg_get_process_memory_container_information"; case 960: return "sys_dbg_perfomance_monitor"; case 970: return "sys_dbg_get_event_flag_list"; case 971: return "sys_dbg_get_event_flag_information"; diff --git a/rpcs3/Emu/Cell/lv2/lv2.cpp b/rpcs3/Emu/Cell/lv2/lv2.cpp index 5c6de17e98..cd0799f5d9 100644 --- a/rpcs3/Emu/Cell/lv2/lv2.cpp +++ b/rpcs3/Emu/Cell/lv2/lv2.cpp @@ -294,7 +294,7 @@ const std::array s_ppu_syscall_table null_func,//BIND_FUNC(sys_spu_thread_group_set_cooperative_victims) //250 (0x0FA) BIND_FUNC(sys_spu_thread_group_connect_event_all_threads), //251 (0x0FB) BIND_FUNC(sys_spu_thread_group_disconnect_event_all_threads), //252 (0x0FC) - null_func,//BIND_FUNC() //253 (0x0FD) + null_func,//BIND_FUNC(sys_spu_thread_group...) //253 (0x0FD) null_func,//BIND_FUNC(sys_spu_thread_group_log) //254 (0x0FE) uns_func, uns_func, uns_func, uns_func, uns_func, //255-259 UNS @@ -548,7 +548,7 @@ const std::array s_ppu_syscall_table uns_func, //576 (0x240) UNS null_func,//BIND_FUNC(sys_pad_manager_...) //577 (0x241) ROOT PM null_func,//BIND_FUNC(sys_bluetooth_...) //578 (0x242) - null_func,//BIND_FUNC(sys_bluetooth_...) //579 (0x243) + null_func,//BIND_FUNC(sys_bluetooth_aud_serial_...) //579 (0x243) null_func,//BIND_FUNC(sys_bluetooth_...) //580 (0x244) ROOT null_func,//BIND_FUNC(sys_bluetooth_...) //581 (0x245) ROOT null_func,//BIND_FUNC(sys_bluetooth_...) //582 (0x246) ROOT @@ -843,7 +843,7 @@ const std::array s_ppu_syscall_table null_func,//BIND_FUNC(sys_dbg_vm_get_info) //954 (0x3BA) null_func,//BIND_FUNC(sys_dbg_enable_floating_point_enabled_exception) //955 (0x3BB) null_func,//BIND_FUNC(sys_dbg_disable_floating_point_enabled_exception) //956 (0x3BC) - null_func,//BIND_FUNC(sys_dbg_...) //957 (0x3BD) DBG + null_func,//BIND_FUNC(sys_dbg_get_process_memory_container_information) //957 (0x3BD) uns_func, //958 (0x3BE) UNS null_func,//BIND_FUNC(sys_dbg_...) //959 (0x3BF) null_func,//BIND_FUNC(sys_dbg_perfomance_monitor) //960 (0x3C0) @@ -862,15 +862,15 @@ const std::array s_ppu_syscall_table uns_func,//BIND_FUNC(sys_dbg_...) //973 (0x3CD) null_func,//BIND_FUNC(sys_dbg_...) //974 (0x3CE) null_func,//BIND_FUNC(sys_dbg_read_spu_thread_context2) //975 (0x3CF) - null_func,//BIND_FUNC(sys_dbg_...) //976 (0x3D0) - null_func,//BIND_FUNC(sys_dbg_...) //977 (0x3D1) - null_func,//BIND_FUNC(sys_dbg_...) //978 (0x3D2) ROOT - null_func,//BIND_FUNC(sys_dbg_...) //979 (0x3D3) - null_func,//BIND_FUNC(sys_dbg_...) //980 (0x3D4) - null_func,//BIND_FUNC(sys_dbg_...) //981 (0x3D5) ROOT - null_func,//BIND_FUNC(sys_dbg_...) //982 (0x3D6) - null_func,//BIND_FUNC(sys_dbg_...) //983 (0x3D7) - null_func,//BIND_FUNC(sys_dbg_...) //984 (0x3D8) + null_func,//BIND_FUNC(sys_crypto_engine_create) //976 (0x3D0) + null_func,//BIND_FUNC(sys_crypto_engine_destroy) //977 (0x3D1) + null_func,//BIND_FUNC(sys_crypto_engine_hasher_prepare) //978 (0x3D2) ROOT + null_func,//BIND_FUNC(sys_crypto_engine_hasher_run) //979 (0x3D3) + null_func,//BIND_FUNC(sys_crypto_engine_hasher_get_hash) //980 (0x3D4) + null_func,//BIND_FUNC(sys_crypto_engine_cipher_prepare) //981 (0x3D5) ROOT + null_func,//BIND_FUNC(sys_crypto_engine_cipher_run) //982 (0x3D6) + null_func,//BIND_FUNC(sys_crypto_engine_cipher_get_hash) //983 (0x3D7) + null_func,//BIND_FUNC(sys_crypto_engine_random_generate) //984 (0x3D8) null_func,//BIND_FUNC(sys_dbg_get_console_type) //985 (0x3D9) ROOT null_func,//BIND_FUNC(sys_dbg_...) //986 (0x3DA) ROOT DBG null_func,//BIND_FUNC(sys_dbg_...) //987 (0x3DB) ROOT