mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 00:42:48 +00:00
Improved stub for sceHttp2Init
Needed for updated versions of Cyberpunk 2077. Parameters are based on fpPS4, while the stub itself is based on similar stubs in our other networking libraries.
This commit is contained in:
parent
8706703e85
commit
e8cd5eb367
@ -123,9 +123,10 @@ int PS4_SYSV_ABI sceHttp2GetStatusCode() {
|
|||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceHttp2Init() {
|
int PS4_SYSV_ABI sceHttp2Init(int net_id, int ssl_id, size_t pool_size, int max_requests) {
|
||||||
LOG_ERROR(Lib_Http2, "(STUBBED) called");
|
LOG_ERROR(Lib_Http2, "(DUMMY) called");
|
||||||
return ORBIS_OK;
|
static int id = 0;
|
||||||
|
return ++id;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceHttp2ReadData() {
|
int PS4_SYSV_ABI sceHttp2ReadData() {
|
||||||
|
@ -34,7 +34,7 @@ int PS4_SYSV_ABI sceHttp2GetCookieStats();
|
|||||||
int PS4_SYSV_ABI sceHttp2GetMemoryPoolStats();
|
int PS4_SYSV_ABI sceHttp2GetMemoryPoolStats();
|
||||||
int PS4_SYSV_ABI sceHttp2GetResponseContentLength();
|
int PS4_SYSV_ABI sceHttp2GetResponseContentLength();
|
||||||
int PS4_SYSV_ABI sceHttp2GetStatusCode();
|
int PS4_SYSV_ABI sceHttp2GetStatusCode();
|
||||||
int PS4_SYSV_ABI sceHttp2Init();
|
int PS4_SYSV_ABI sceHttp2Init(int net_id, int ssl_id, size_t pool_size, int max_requests);
|
||||||
int PS4_SYSV_ABI sceHttp2ReadData();
|
int PS4_SYSV_ABI sceHttp2ReadData();
|
||||||
int PS4_SYSV_ABI sceHttp2ReadDataAsync();
|
int PS4_SYSV_ABI sceHttp2ReadDataAsync();
|
||||||
int PS4_SYSV_ABI sceHttp2RedirectCacheFlush();
|
int PS4_SYSV_ABI sceHttp2RedirectCacheFlush();
|
||||||
|
Loading…
Reference in New Issue
Block a user