From d6bf18eabc337553108810d93f753a114b121d9f Mon Sep 17 00:00:00 2001 From: scribam Date: Sun, 24 Mar 2019 09:54:44 +0100 Subject: [PATCH] hle: Add some sceNpMatchingInt functions --- rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp | 37 +++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp b/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp index 3b2d112216..e6d919a3ec 100644 --- a/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp @@ -2,16 +2,26 @@ #include "Emu/System.h" #include "Emu/Cell/PPUModule.h" - - LOG_CHANNEL(sceNpMatchingInt); +s32 sceNpMatchingCancelRequest() +{ + UNIMPLEMENTED_FUNC(sceNpMatchingInt); + return CELL_OK; +} + s32 sceNpMatchingGetRoomMemberList() { UNIMPLEMENTED_FUNC(sceNpMatchingInt); return CELL_OK; } +s32 sceNpMatchingJoinRoomWithoutGUI() +{ + UNIMPLEMENTED_FUNC(sceNpMatchingInt); + return CELL_OK; +} + // Parameter "unknown" added to distinguish this function // from the one in sceNp.cpp which has the same name s32 sceNpMatchingJoinRoomGUI(vm::ptr unknown) @@ -20,22 +30,45 @@ s32 sceNpMatchingJoinRoomGUI(vm::ptr unknown) return CELL_OK; } +s32 sceNpMatchingGetRoomListWithoutGUI() +{ + UNIMPLEMENTED_FUNC(sceNpMatchingInt); + return CELL_OK; +} + s32 sceNpMatchingGetRoomListGUI() { UNIMPLEMENTED_FUNC(sceNpMatchingInt); return CELL_OK; } +s32 sceNpMatchingCancelRequestGUI() +{ + UNIMPLEMENTED_FUNC(sceNpMatchingInt); + return CELL_OK; +} + s32 sceNpMatchingSendRoomMessage() { UNIMPLEMENTED_FUNC(sceNpMatchingInt); return CELL_OK; } +s32 sceNpMatchingCreateRoomWithoutGUI() +{ + UNIMPLEMENTED_FUNC(sceNpMatchingInt); + return CELL_OK; +} + DECLARE(ppu_module_manager::sceNpMatchingInt)("sceNpMatchingInt", []() { + REG_FUNC(sceNpMatchingInt, sceNpMatchingCancelRequest); REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomMemberList); + REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomWithoutGUI); REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomGUI); + REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListWithoutGUI); REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListGUI); + REG_FUNC(sceNpMatchingInt, sceNpMatchingCancelRequestGUI); REG_FUNC(sceNpMatchingInt, sceNpMatchingSendRoomMessage); + REG_FUNC(sceNpMatchingInt, sceNpMatchingCreateRoomWithoutGUI); });