From 8dbf2638e2d7b0613444da987e5a072742e4db29 Mon Sep 17 00:00:00 2001 From: scribam Date: Fri, 5 Apr 2019 08:45:49 +0200 Subject: [PATCH] hle: Add some missing functions 0xBA50BC23 => cellCelpEncOpenExt 0x1AC58D11 => cellHttpFlushCache 0xA39FE9DC => cellHttpEndCache 0xB4FA3111 => cellHttpInitCache 0x4A18A89E => sceNpMatchingSetRoomInfoNoLimit 0xB020684E => sceNpMatchingGetRoomInfoNoLimit --- rpcs3/Emu/Cell/Modules/cellCelpEnc.cpp | 9 +++++++-- rpcs3/Emu/Cell/Modules/cellHttp.cpp | 22 +++++++++++++++++++++ rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp | 15 +++++++++++++- 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellCelpEnc.cpp b/rpcs3/Emu/Cell/Modules/cellCelpEnc.cpp index 63dd18ebb9..f9a61d817f 100644 --- a/rpcs3/Emu/Cell/Modules/cellCelpEnc.cpp +++ b/rpcs3/Emu/Cell/Modules/cellCelpEnc.cpp @@ -1,12 +1,10 @@ #include "stdafx.h" -#include "Emu/System.h" #include "Emu/Cell/PPUModule.h" #include "cellCelpEnc.h" LOG_CHANNEL(cellCelpEnc); - s32 cellCelpEncQueryAttr() { UNIMPLEMENTED_FUNC(cellCelpEnc); @@ -25,6 +23,12 @@ s32 cellCelpEncOpenEx() return CELL_OK; } +s32 cellCelpEncOpenExt() +{ + UNIMPLEMENTED_FUNC(cellCelpEnc); + return CELL_OK; +} + s32 cellCelpEncClose() { UNIMPLEMENTED_FUNC(cellCelpEnc); @@ -66,6 +70,7 @@ DECLARE(ppu_module_manager::cellCelpEnc)("cellCelpEnc", []() REG_FUNC(cellCelpEnc, cellCelpEncQueryAttr); REG_FUNC(cellCelpEnc, cellCelpEncOpen); REG_FUNC(cellCelpEnc, cellCelpEncOpenEx); + REG_FUNC(cellCelpEnc, cellCelpEncOpenExt); REG_FUNC(cellCelpEnc, cellCelpEncClose); REG_FUNC(cellCelpEnc, cellCelpEncStart); REG_FUNC(cellCelpEnc, cellCelpEncEnd); diff --git a/rpcs3/Emu/Cell/Modules/cellHttp.cpp b/rpcs3/Emu/Cell/Modules/cellHttp.cpp index 7525579337..24e8e7ad53 100644 --- a/rpcs3/Emu/Cell/Modules/cellHttp.cpp +++ b/rpcs3/Emu/Cell/Modules/cellHttp.cpp @@ -695,6 +695,24 @@ s32 cellHttpClientSetSslIdDestroyCallback() return CELL_OK; } +s32 cellHttpFlushCache() +{ + UNIMPLEMENTED_FUNC(cellHttp); + return CELL_OK; +} + +s32 cellHttpEndCache() +{ + UNIMPLEMENTED_FUNC(cellHttp); + return CELL_OK; +} + +s32 cellHttpInitCache() +{ + UNIMPLEMENTED_FUNC(cellHttp); + return CELL_OK; +} + DECLARE(ppu_module_manager::cellHttp)("cellHttp", []() { REG_FUNC(cellHttp, cellHttpAuthCacheExport); @@ -826,6 +844,10 @@ DECLARE(ppu_module_manager::cellHttp)("cellHttp", []() REG_FUNC(cellHttp, cellHttpClientSetSslVersion); REG_FUNC(cellHttp, cellHttpClientGetSslVersion); REG_FUNC(cellHttp, cellHttpClientSetSslIdDestroyCallback); + + REG_FUNC(cellHttp, cellHttpFlushCache); + REG_FUNC(cellHttp, cellHttpEndCache); + REG_FUNC(cellHttp, cellHttpInitCache); }); DECLARE(ppu_module_manager::cellHttps)("cellHttps", []() diff --git a/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp b/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp index e6d919a3ec..34e1be1359 100644 --- a/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNpMatchingInt.cpp @@ -1,5 +1,4 @@ #include "stdafx.h" -#include "Emu/System.h" #include "Emu/Cell/PPUModule.h" LOG_CHANNEL(sceNpMatchingInt); @@ -30,6 +29,12 @@ s32 sceNpMatchingJoinRoomGUI(vm::ptr unknown) return CELL_OK; } +s32 sceNpMatchingSetRoomInfoNoLimit(vm::ptr unknown) +{ + UNIMPLEMENTED_FUNC(sceNpMatchingInt); + return CELL_OK; +} + s32 sceNpMatchingGetRoomListWithoutGUI() { UNIMPLEMENTED_FUNC(sceNpMatchingInt); @@ -42,6 +47,12 @@ s32 sceNpMatchingGetRoomListGUI() return CELL_OK; } +s32 sceNpMatchingGetRoomInfoNoLimit(vm::ptr unknown) +{ + UNIMPLEMENTED_FUNC(sceNpMatchingInt); + return CELL_OK; +} + s32 sceNpMatchingCancelRequestGUI() { UNIMPLEMENTED_FUNC(sceNpMatchingInt); @@ -66,8 +77,10 @@ DECLARE(ppu_module_manager::sceNpMatchingInt)("sceNpMatchingInt", []() REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomMemberList); REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomWithoutGUI); REG_FUNC(sceNpMatchingInt, sceNpMatchingJoinRoomGUI); + REG_FUNC(sceNpMatchingInt, sceNpMatchingSetRoomInfoNoLimit); REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListWithoutGUI); REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomListGUI); + REG_FUNC(sceNpMatchingInt, sceNpMatchingGetRoomInfoNoLimit); REG_FUNC(sceNpMatchingInt, sceNpMatchingCancelRequestGUI); REG_FUNC(sceNpMatchingInt, sceNpMatchingSendRoomMessage); REG_FUNC(sceNpMatchingInt, sceNpMatchingCreateRoomWithoutGUI);