Stub return value of sceNpCreateRequest

This commit is contained in:
Marcin Mikołajczyk 2024-10-02 20:34:49 +01:00
parent 7e533ccf50
commit 7a717d3009
2 changed files with 6 additions and 5 deletions

View File

@ -913,12 +913,13 @@ int PS4_SYSV_ABI sceNpCreateAsyncRequest() {
} }
int PS4_SYSV_ABI sceNpCreateRequest() { int PS4_SYSV_ABI sceNpCreateRequest() {
LOG_ERROR(Lib_NpManager, "(STUBBED) called"); LOG_ERROR(Lib_NpManager, "(DUMMY) called");
return ORBIS_OK; static int id = 0;
return ++id;
} }
int PS4_SYSV_ABI sceNpDeleteRequest() { int PS4_SYSV_ABI sceNpDeleteRequest(int reqId) {
LOG_ERROR(Lib_NpManager, "(STUBBED) called"); LOG_ERROR(Lib_NpManager, "(DUMMY) called reqId = {}", reqId);
return ORBIS_OK; return ORBIS_OK;
} }

View File

@ -216,7 +216,7 @@ int PS4_SYSV_ABI sceNpCheckNpReachability();
int PS4_SYSV_ABI sceNpCheckPlus(); int PS4_SYSV_ABI sceNpCheckPlus();
int PS4_SYSV_ABI sceNpCreateAsyncRequest(); int PS4_SYSV_ABI sceNpCreateAsyncRequest();
int PS4_SYSV_ABI sceNpCreateRequest(); int PS4_SYSV_ABI sceNpCreateRequest();
int PS4_SYSV_ABI sceNpDeleteRequest(); int PS4_SYSV_ABI sceNpDeleteRequest(int reqId);
int PS4_SYSV_ABI sceNpGetAccountAge(); int PS4_SYSV_ABI sceNpGetAccountAge();
int PS4_SYSV_ABI sceNpGetAccountCountry(); int PS4_SYSV_ABI sceNpGetAccountCountry();
int PS4_SYSV_ABI sceNpGetAccountCountryA(); int PS4_SYSV_ABI sceNpGetAccountCountryA();