[PR #2139] [MERGED] libSceHttp2 Stubs #2513

Closed
opened 2026-02-27 22:00:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2139
Author: @StevenMiller123
Created: 1/12/2025
Status: Merged
Merged: 1/12/2025
Merged by: @georgemoralis

Base: mainHead: libSceHttp2-stubs


📝 Commits (3)

📊 Changes

6 files changed (+438 additions, -0 deletions)

View changed files

📝 CMakeLists.txt (+2 -0)
📝 src/common/logging/filter.cpp (+1 -0)
📝 src/common/logging/types.h (+1 -0)
📝 src/core/libraries/libs.cpp (+2 -0)
src/core/libraries/network/http2.cpp (+360 -0)
src/core/libraries/network/http2.h (+72 -0)

📄 Description

This PR adds auto-generated stubs for libSceHttp2, and makes sceHttp2Init return a positive value.

Parameter names for sceHttp2Init are based on the names used by fpPS4, with names altered to better suit our coding guidelines. The dummy return I used is based on similar code used in our libSceSsl, libSceSsl2, and libSceHttp libraries.

This fixes an exception seen in updated versions of Cyberpunk 2077.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2139 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 1/12/2025 **Status:** ✅ Merged **Merged:** 1/12/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `libSceHttp2-stubs` --- ### 📝 Commits (3) - [`8706703`](https://github.com/shadps4-emu/shadPS4/commit/8706703e85492989dd2d683600fd72a81a02b5b1) Auto-generate libSceHttp2 - [`e8cd5eb`](https://github.com/shadps4-emu/shadPS4/commit/e8cd5eb367e15ec9b3b100dcffa933a784b0aebd) Improved stub for sceHttp2Init - [`9592f66`](https://github.com/shadps4-emu/shadPS4/commit/9592f66a49e9d2730b9a4e2988b3b258964b2956) Clang ### 📊 Changes **6 files changed** (+438 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+2 -0) 📝 `src/common/logging/filter.cpp` (+1 -0) 📝 `src/common/logging/types.h` (+1 -0) 📝 `src/core/libraries/libs.cpp` (+2 -0) ➕ `src/core/libraries/network/http2.cpp` (+360 -0) ➕ `src/core/libraries/network/http2.h` (+72 -0) </details> ### 📄 Description This PR adds auto-generated stubs for libSceHttp2, and makes sceHttp2Init return a positive value. Parameter names for sceHttp2Init are based on the names used by fpPS4, with names altered to better suit our coding guidelines. The dummy return I used is based on similar code used in our libSceSsl, libSceSsl2, and libSceHttp libraries. This fixes an exception seen in updated versions of Cyberpunk 2077. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2513
No description provided.