mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 21:31:04 +00:00
Stub return value of sceNpCreateRequest (#1209)
This commit is contained in:
committed by
GitHub
parent
ab6901ae6a
commit
0e0de5a2a0
@@ -902,12 +902,13 @@ int PS4_SYSV_ABI sceNpCreateAsyncRequest() {
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI sceNpCreateRequest() {
|
||||
LOG_ERROR(Lib_NpManager, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
LOG_ERROR(Lib_NpManager, "(DUMMY) called");
|
||||
static int id = 0;
|
||||
return ++id;
|
||||
}
|
||||
|
||||
int PS4_SYSV_ABI sceNpDeleteRequest() {
|
||||
LOG_ERROR(Lib_NpManager, "(STUBBED) called");
|
||||
int PS4_SYSV_ABI sceNpDeleteRequest(int reqId) {
|
||||
LOG_ERROR(Lib_NpManager, "(DUMMY) called reqId = {}", reqId);
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@ int PS4_SYSV_ABI sceNpCheckNpReachability();
|
||||
int PS4_SYSV_ABI sceNpCheckPlus();
|
||||
int PS4_SYSV_ABI sceNpCreateAsyncRequest();
|
||||
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 sceNpGetAccountCountry();
|
||||
int PS4_SYSV_ABI sceNpGetAccountCountryA();
|
||||
|
||||
Reference in New Issue
Block a user