feat(libSceSystemService): report that no background music is playing #9089
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9089"
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 YossiYad on 2026-10-21T12:03:40Z.
What
sceSystemServiceIsBgmPlayingandsceShellCoreUtilIsBgmPlayingthrew. Both now return 0. In shadPS4's systemservice.cpp both return whether its libSceMusicPlayerService is playing (1 or 0, no arguments). AnyPS5 has no libSceMusicPlayerService, so no background music can be playing and the answer is always 0.Not measured on a PS5; the debt entry says so.
Tested
Linux (Fedora 44, GCC, Ninja,
-DBUILD_TESTING=ON), based onmain47fa6eecf8:guest_system_service(core/libs/tests/GuestSystemService.cpp) expects 0 from both calls, after the existing music player disable and re-enable. It aborts onmain, and fails when either call returns 1.ctest: 1790 of 1798 pass. The 8 failures fail the same way onmainon this machine and do not link libSceSystemService:application_heap_scripting,application_heap_lazy,agc_driver_guest_memory_lifetime,agc_driver_image_array_window_past_layer_limit,agc_driver_tessellationand the threenet_dontwait_blocking_*cases.tools/progress.py --compare: libraries +0.02%, 2 functions implemented, none lost.tools/check_conventions.py --base upstream/mainpasses.tools/pr_overlap.pylists #8651, #8354, #7201 and #6044 as editing the same files; none of them implements these two.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T12:04:32Z.
Progress report (
4a17c71→f0d0bca)📈 System libraries: 42.01% (+0.02%, +2 implemented functions)
✅ 2 implemented
sceShellCoreUtilIsBgmPlayingsceSystemServiceIsBgmPlaying⚪ 2 behaviourally empty (constant return or throw)
sceShellCoreUtilIsBgmPlayingsceSystemServiceIsBgmPlayingImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T12:20:04Z.
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/libSceSystemService/PendingExports.cppL1244-1263Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestSystemService.cppcore/libs/prx/libSceSystemService/Export.cppcore/libs/prx/libSceSystemService/Export.cppcore/libs/prx/libSceSystemService/PendingExports.cppcore/libs/tests/GuestSystemService.cppdocs/dev/debt/libSceSystemService.mdImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-21T16:14:40Z.
Independent Windows run of this PR (data only).
Environment: Windows 10 Pro 10.0.19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release, BUILD_TESTING=ON. Merge-tree of the PR head against
mainis clean. I built onlyguest_system_service_tests;ctest -N -R guest_system_servicelists exactly one test.PR head tested:
9f3cf7366e5d0c1f4262193d2de8f6990b06ea63.Results (3 runs each):
guest_system_servicepasses 3/3.core/libs/prx/libSceSystemService/Export.cpp,core/libs/prx/libSceSystemService/PendingExports.cppwith the version from the PR's merge base (47fa6eecf8), then rebuilt. The test fails 3/3 (exit 0xc0000409). I restored the PR's files afterwards.GPU: the run output has no
Selected GPUline; no GPU claim is made.Not run: other platforms, the other tests in the same family, the full repository CTest, and any title or console run.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by YossiYad on 2026-10-21T19:43:27Z.
Thanks @xXPBSXx for the Windows run, and for the baseline with the library code reverted that shows the test fails without the change.
Imported from boykopovar/AnyPS5. Originally posted by YossiYad on 2026-10-22T05:34:52Z.
Rebased onto
mainda54c652eafter #9137 (headf0d0bcafb). The conflicts weremain's new declarations next to the two removed stubs, and the rewritten pending-exports entry in the debt file, which I took asmainhas it.guest_system_servicepasses 3 of 3.@oneandonlydean @adriadam10 ready from my side: CI is green, and xXPBSXx's Windows run shows the test failing with
main's library code.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-22T05:48:52Z.
@YossiYad thanks, it's in my review queue now. I'll come back here with the result.