Added dummy funcs + registered the module

This commit is contained in:
Nemoumbra committed 2025-02-12 16:49:43 +03:00
1 parent d02a9ee2e5
commit 4e8b1f24d6
3 files changed
+35 -2

No files matched your search

+2
View File
@@ -84,6 +84,7 @@
#include "sceNetInet.h"
#include "sceNetResolver.h"
// #include "sceNp2.h"
#include "sceNet_lib.h"
#define N(s) s
@@ -319,6 +320,7 @@ void RegisterAllModules() {
Register_mp4msv();
Register_InterruptManagerForKernel();
Register_sceSircs();
Register_sceNet_lib();
// Not ready to enable this due to apparent softlocks in Patapon 3.
// Register_sceNpMatching2();
+29 -1
View File
@@ -13,4 +13,32 @@
// If not, see http://www.gnu.org/licenses/
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "Core/HLE/sceNet_lib.h"
#include "Core/HLE/FunctionWrappers.h"
#include "Core/HLE/HLE.h"
const HLEFunction sceNet_lib[] = {
{0X1858883D, nullptr, "sceNetRand", 'i', "" },
{0X2A73ADDC, nullptr, "sceNetStrtoul", 'i', "" },
{0X4753D878, nullptr, "sceNetMemmove", 'i', "" },
{0X80C9F02A, nullptr, "sceNetStrcpy", 'i', "" },
{0X94DCA9F0, nullptr, "sceNetStrncmp", 'i', "" },
{0X9CFBC7E3, nullptr, "sceNetStrcasecmp", 'i', "" },
{0XA0F16ABD, nullptr, "sceNetStrcmp", 'i', "" },
{0XB5CE388A, nullptr, "sceNetStrncpy", 'i', "" },
{0XBCBE14CF, nullptr, "sceNetStrchr", 'i', "" },
{0XCF705E46, nullptr, "sceNetSprintf", 'i', "" },
{0XD8722983, nullptr, "sceNetStrlen", 'i', "" },
{0XE0A81C7C, nullptr, "sceNetMemcmp", 'i', "" },
};
void Register_sceNet_lib() {
RegisterModule("sceNet_lib", ARRAY_SIZE(sceNet_lib), sceNet_lib);
}
+4 -1
View File
@@ -13,4 +13,7 @@
// If not, see http://www.gnu.org/licenses/
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
void Register_sceNet_lib();