[PR #2132] [MERGED] Add libSceSsl2 stubs #2506

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

📋 Pull Request Information

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

Base: mainHead: libSceSsl2-stubs


📝 Commits (6)

📊 Changes

6 files changed (+373 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/ssl2.cpp (+353 -0)
src/core/libraries/network/ssl2.h (+14 -0)

📄 Description

This PR adds auto-generated stubs for the libSceSsl2 library, and copies over the sceSslInit stub from libSceSsl.
From what I could tell, libSceSsl2 functions are different enough from libSceSsl functions that keeping them in a separate file is a better idea in the long-term, for when we eventually implement these libraries properly.

The stub for libSceSsl2's sceSslInit fixes the current exception in Cyberpunk 2077 (CUSA16596).


🔄 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/2132 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 1/11/2025 **Status:** ✅ Merged **Merged:** 1/12/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `libSceSsl2-stubs` --- ### 📝 Commits (6) - [`d697bf4`](https://github.com/shadps4-emu/shadPS4/commit/d697bf40f8ddc4ed1031ba20354ede465013039c) Auto-generate libSceSsl2 stubs - [`0f979d7`](https://github.com/shadps4-emu/shadPS4/commit/0f979d7bb1104dc39d1cfc1885118e36f7926836) Copy over sceSslInit stub - [`971e90d`](https://github.com/shadps4-emu/shadPS4/commit/971e90db8ccb41a8b33055f5396971c43313137d) Update CMakeLists.txt - [`30da2d9`](https://github.com/shadps4-emu/shadPS4/commit/30da2d9163b9a8bbec17ad993f628cedd9f6d36d) Swap to Lib_Ssl2 log category - [`9089116`](https://github.com/shadps4-emu/shadPS4/commit/908911630da5d80c074a2352c731e5b863c7cf81) Fix compile - [`7d0ec09`](https://github.com/shadps4-emu/shadPS4/commit/7d0ec0941f2be8ede422fdd6beadcfed622b97f2) Clang ### 📊 Changes **6 files changed** (+373 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/ssl2.cpp` (+353 -0) ➕ `src/core/libraries/network/ssl2.h` (+14 -0) </details> ### 📄 Description This PR adds auto-generated stubs for the libSceSsl2 library, and copies over the sceSslInit stub from libSceSsl. From what I could tell, libSceSsl2 functions are different enough from libSceSsl functions that keeping them in a separate file is a better idea in the long-term, for when we eventually implement these libraries properly. The stub for libSceSsl2's sceSslInit fixes the current exception in Cyberpunk 2077 (CUSA16596). --- <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:11 +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#2506
No description provided.