[PR #2963] [MERGED] Libs: CompanionUtil #3113

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2963
Author: @Fire-Cube
Created: 5/20/2025
Status: Merged
Merged: 5/29/2025
Merged by: @georgemoralis

Base: mainHead: companionutil


📝 Commits (9)

📊 Changes

7 files changed (+118 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/companion/companion_error.h (+7 -0)
src/core/libraries/companion/companion_util.cpp (+72 -0)
src/core/libraries/companion/companion_util.h (+33 -0)
📝 src/core/libraries/libs.cpp (+2 -0)

📄 Description

In this PR, I tried to reproduce the behavior of sceCompanionUtilGetEvent as minimally as possible. The game I used (Star Wars Battlefront) never calls Initialize.
Maybe I misinterpreted something in the RE, so a thorough review would be great.


🔄 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/2963 **Author:** [@Fire-Cube](https://github.com/Fire-Cube) **Created:** 5/20/2025 **Status:** ✅ Merged **Merged:** 5/29/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `companionutil` --- ### 📝 Commits (9) - [`2ef2e12`](https://github.com/shadps4-emu/shadPS4/commit/2ef2e12404a0956f979ddc3cb85ab3739cf0c8ee) impl - [`cf66112`](https://github.com/shadps4-emu/shadPS4/commit/cf66112d4e367f4dfdc15f72d6752d3f309fa89b) more - [`0c6a095`](https://github.com/shadps4-emu/shadPS4/commit/0c6a0952781e7d222795bde933279dee2e98ea7e) move log - [`f9c7a22`](https://github.com/shadps4-emu/shadPS4/commit/f9c7a22b9c9757548bf0a301e22389eb385e6f88) cleanup type definitions - [`0e7470e`](https://github.com/shadps4-emu/shadPS4/commit/0e7470ecc58e0f87b25a13760afd19c8c20e13ce) error code cleanup and clang - [`09d92e2`](https://github.com/shadps4-emu/shadPS4/commit/09d92e2103edc52a3edf058e1c6a3b4c6bb56bec) cleanup ugly RE code - [`51ea8fe`](https://github.com/shadps4-emu/shadPS4/commit/51ea8feaabca7b59c1f8c60c68b2848b3f8c9893) shame - [`296ac90`](https://github.com/shadps4-emu/shadPS4/commit/296ac9031b3f743a4a63ebf3924934ee815a5faa) clang - [`93d12fa`](https://github.com/shadps4-emu/shadPS4/commit/93d12faf41563355785c6b16c64f993bd61c81fe) Merge branch 'main' into companionutil ### 📊 Changes **7 files changed** (+118 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/companion/companion_error.h` (+7 -0) ➕ `src/core/libraries/companion/companion_util.cpp` (+72 -0) ➕ `src/core/libraries/companion/companion_util.h` (+33 -0) 📝 `src/core/libraries/libs.cpp` (+2 -0) </details> ### 📄 Description In this PR, I tried to reproduce the behavior of sceCompanionUtilGetEvent as minimally as possible. The game I used (Star Wars Battlefront) never calls Initialize. Maybe I misinterpreted something in the RE, so a thorough review would be great. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:29 +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#3113
No description provided.