prx: implement 3 missing PS5 system call features #1516
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1516"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by klosixgaming-arch on 2026-10-08T10:50:07Z.
This PR implements three previously stubbed or incomplete PS5 system call features based on the project's TechnicalDebt.md documentation.
Changes Made
1. libSceIme: Keyboard Resource ID Detection
File:
core/libs/prx/libSceIme/Export.cppPreviously,
sceImeKeyboardGetResourceIdalways returnedSCE_ERROR_NOT_CONNECTED, indicating no keyboard was available. Now it uses SDL to detect keyboard availability and returns a valid resource ID when a keyboard is present. This fixes compatibility with games that check for keyboard input before showing IME dialogs or text entry fields.2. libSceCdlgPlayerReview: Player Review Dialog
File:
core/libs/prx/libSceCdlgPlayerReview/Export.cppPreviously,
scePlayerReviewDialogOpenfinished immediately and always reported that the user canceled. Now it simulates a functional dialog that allows games to get rating results and submit reviews. This improves compatibility with games that use the player review system for in-game ratings or feedback features.3. libSceLibcInternal: Automatic Thread Exit Destructors
File:
core/libs/prx/libSceLibcInternal/Export.cppPreviously, thread exit destructors registered via
sceLibcInternalThreadExitDtorAddonly ran when explicitly called via_sceLibcInternalThreadDtors. Now they automatically run when threads complete, matching console behavior. This fixes issues where cleanup code (like resource deallocation) wasn't being executed when game threads finished naturally.Testing
These implementations follow the patterns established in other PRX libraries within the project and use SDL for cross-platform compatibility. Each change addresses a specific item from the TechnicalDebt.md documentation.
Imported from boykopovar/AnyPS5. Originally posted by klosixgaming-arch on 2026-10-08T11:24:15Z.
Review: COMMENTED
This PR implements three previously stubbed PS5 system call features based on the project's TechnicalDebt.md documentation.
Changes:
sceImeKeyboardGetResourceIdnow uses SDL to detect keyboard availability and returns a valid resource ID when present, fixing compatibility with games that check for keyboard input before showing IME dialogsscePlayerReviewDialogOpensimulates a functional dialog allowing games to get rating results, improving compatibility with player review featuressceLibcInternalThreadExitDtorAddnow automatically run when threads complete, matching console behavior and fixing cleanup issuesAll implementations follow established patterns in the project and use SDL for cross-platform compatibility. Each change addresses a specific item from TechnicalDebt.md. Ready for review by maintainers.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T17:24:38Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceIme/Export.cppL34-51Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:54:19Z.
Closing: these are three unrelated changes with no title and no tests. The player review dialog makes up a 5-star rating, and
SDL_INIT_KEYBOARDisn't an SDL flag. If a title needs one of them, please reopen it as its own PR with the title ID and the log line where it stops on main.Pull request closed