system_service: implement media playback, display settings, and remoteplay exports #2503
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!2503
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2503/head"
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?
@DIMPM32145 on GitHub · 2026-11-21 22:06 UTC · original
DIMPM32145:system-service-settings→main· +60 −0 · 2 files · 2 commits · merged 2026-11-22 12:10 UTCSummary of Changes
sceSystemServiceDisableMediaPlay(64nkF7LGk8w) andsceSystemServiceReenableMediaPlay(uInYhy7xa+U)sceSystemServiceShowDisplaySafeAreaSettings(tPfQU2pD4-M) andsceSystemServiceShowControllerSettings(w9wlKcHrmm8)sceSystemServiceOpenChallengeActivity(sPuK5ic3GD4),sceSystemServiceOpenTournamentOccurrence(gELp9ue2ccQ), andsceSystemServiceDeclareReadyForSuspend(EqcPA3ugRP8)tests/SystemServiceTests.cppregistered with CMake and CTestTested
clang-cland Ninjasystem_service_tests.exe: 3/3 tests passed with 100% successAffected Titles
Unblocks initialization and settings navigation for titles checking system safe area, controller settings, and remote play status (including Cat Quest III [PPSA15065], PPSA01521, and PPSA03332).
@coderabbitai[bot] on GitHub · 2026-11-21 22:11 UTC · original · edited 2026-11-21 22:15 UTC
Walkthrough
The change adds eight SystemService stubs and registers them with their library export identifiers. The Remoteplay status function returns an error for a null output pointer and sets the status to inactive for a valid pointer. GoogleTest coverage checks these behaviors and the return values of the other functions. CMake configures the test executable, registers it with CTest, and includes it in the
kyty_teststarget.Suggested reviewers:
nmzik,ekt0reChange: Feature
Merge Risk:
Low · up to
c9968The new SystemService exports are simple stubs with a small blast radius. The null-argument result of the Remoteplay status call differs from what the PR description states. Confirm which behavior is intended, then align the code, test, or description before merging.
Pre-merge checks:
4
Full details: Title check
Explanation
The title names the main change: implementing SystemService exports for media playback, display settings, and remoteplay status. The changeset adds stubs for these functions in libSystemService.cpp, registers them in InitSystemService_1, and adds a test suite. The title is specific and matches the changeset. It is long at 82 characters but still accurate.
Full details: Description check
Explanation
The description names the specific SystemService exports implemented (media playback disable/reenable, display safe-area and controller settings, remoteplay status, challenge and tournament activities, declare ready for suspend), states the null-pointer behavior of GetRemoteplayStatus, and describes the Google Test suite registered with CMake and CTest. It is directly related to the changeset, so the check passes.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
@coderabbitai[bot] on GitHub · 2026-11-21 22:11 UTC · original · reviewed
Actionable comments posted: 1
d26d7fa5-2d92-4be8-b9c7-36158a189224Reviewing files that changed from the base of the PR and between
39936ffa39andc996852a2e.CMakeLists.txtsrc/libs/libSystemService.cpptests/SystemServiceTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
@coderabbitai[bot] on GitHub · 2026-11-21 22:11 UTC · original · edited 2026-11-21 22:15 UTC
On
src/libs/libSystemService.cppline 295 (outdated):Honor the specified null-argument result.
If
activeis null, this returnsSYSTEM_SERVICE_ERROR_PARAMETER. The PR objective specifies an inactive (false, numerically zero) return for that input.Return
OKwithout writing through the null pointer. Keep the non-null path unchanged. UpdateRemoteplayStatusValidatesArgumentAndReportsInactiveat Line 61 to require the specified result instead of the error.Based on the PR objective that Remoteplay status returns inactive for a null argument.
@DIMPM32145 on GitHub · 2026-11-21 22:15 UTC · original
On
src/libs/libSystemService.cppline 295 (outdated):The parameter is an output pointer bool* active. In accordance with libSystemService conventions and PS5 behavior (such as SystemServiceGetNoticeScreenSkipFlag), passing nullptr returns SYSTEM_SERVICE_ERROR_PARAMETER. When given a valid pointer, it writes *active = false and returns OK. The PR description has been clarified
@coderabbitai[bot] on GitHub · 2026-11-21 22:16 UTC · original
On
src/libs/libSystemService.cppline 295 (outdated):@DIMPM32145 You’re right. I confused the output value with the return code. If
activeis null, the function returnsSYSTEM_SERVICE_ERROR_PARAMETER. If the pointer is valid, it writesfalseand returnsOK.I withdraw the finding.
Review thread resolved.
You are interacting with an AI system.