[PR #992] [MERGED] Improve sceSystemServiceReceiveEvent stub #1868

Closed
opened 2026-02-27 21:14:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/992
Author: @StevenMiller123
Created: 9/20/2024
Status: Merged
Merged: 10/15/2024
Merged by: @polybiusproxy

Base: mainHead: sceSystemServiceReceiveEvent


📝 Commits (7)

  • 121681c Improve sceSystemServiceReceiveEvent stub
  • da7a4ac clang
  • 6f41526 Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent
  • 9ae626c Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent
  • 675a3fb Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent
  • f02b575 Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent
  • a29971d Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent

📊 Changes

3 files changed (+69 additions, -4 deletions)

View changed files

📝 src/core/libraries/error_codes.h (+1 -0)
📝 src/core/libraries/system/systemservice.cpp (+6 -3)
📝 src/core/libraries/system/systemservice.h (+62 -1)

📄 Description

I've added both an EventType enum, and what should be the proper event struct, both based primarily off fpPS4 implementations. In the one game I've seen calling this function, the game runs a while loop until ReceiveEvent returns something other than 0, causing an infinite loop with the current implementation.

This needs testing with other games that can call this function, as I would assume some games may regress from the error return. If any regressions are found, please provide a log.

Confirmed improvements:

  • Ghost of Tsushima
  • Stranger of Paradise Final Fantasy Origin
  • Hatsune Miku Project Diva X

🔄 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/992 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 9/20/2024 **Status:** ✅ Merged **Merged:** 10/15/2024 **Merged by:** [@polybiusproxy](https://github.com/polybiusproxy) **Base:** `main` ← **Head:** `sceSystemServiceReceiveEvent` --- ### 📝 Commits (7) - [`121681c`](https://github.com/shadps4-emu/shadPS4/commit/121681c986c0cd8d2a62f5ef6ad62caaf8daf0fb) Improve sceSystemServiceReceiveEvent stub - [`da7a4ac`](https://github.com/shadps4-emu/shadPS4/commit/da7a4acc15d5efa59705d7a64c3e6450f0925c0a) clang - [`6f41526`](https://github.com/shadps4-emu/shadPS4/commit/6f4152674ad41cc6e8fa622bb465dfeab407a5f1) Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent - [`9ae626c`](https://github.com/shadps4-emu/shadPS4/commit/9ae626c088ad892f3194b6154d43ce8efbffd826) Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent - [`675a3fb`](https://github.com/shadps4-emu/shadPS4/commit/675a3fb55d0c181f0e5e561159a4cc332d0f29f8) Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent - [`f02b575`](https://github.com/shadps4-emu/shadPS4/commit/f02b575d857bef5b6840da27271b3a7298268dd5) Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent - [`a29971d`](https://github.com/shadps4-emu/shadPS4/commit/a29971d86340d449226695747a9d7447f26fcd3a) Merge branch 'shadps4-emu:main' into sceSystemServiceReceiveEvent ### 📊 Changes **3 files changed** (+69 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/error_codes.h` (+1 -0) 📝 `src/core/libraries/system/systemservice.cpp` (+6 -3) 📝 `src/core/libraries/system/systemservice.h` (+62 -1) </details> ### 📄 Description I've added both an EventType enum, and what should be the proper event struct, both based primarily off fpPS4 implementations. In the one game I've seen calling this function, the game runs a while loop until ReceiveEvent returns something other than 0, causing an infinite loop with the current implementation. This needs testing with other games that can call this function, as I would assume some games may regress from the error return. If any regressions are found, please provide a log. Confirmed improvements: - Ghost of Tsushima - Stranger of Paradise Final Fantasy Origin - Hatsune Miku Project Diva X --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:14:16 +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#1868
No description provided.