feat(libScePlayReady): add subsystem CMakeLists.txt and consolidate version and buffer tests #15836
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15836"
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 Elma7e on 2026-11-04T18:38:14Z.
What
Provide dedicated
core/libs/prx/libScePlayReady/CMakeLists.txtdeclaringlibScePlayReadyshared library target with Windows unwind configuration. Consolidateguest_playready_testsfrom rootcore/libs/CMakeLists.txtinto subsystem CMake with Windows DLL search path prepend. Add test coverage forscePlayReadyMemGetStats. Update technical debt documentation.Tested
Conventions pass via
tools/check_conventions.py. Standalone compilation and execution ofGuestPlayReady.cppsucceeds with exit code 0.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 adriadam10 on 2026-11-07T20:47:54Z.
Review: CHANGES_REQUESTED
Thanks for the PR. Points to address:
core/libs/prx/libScePlayReady/CMakeLists.txtreproduces whatcore/libs/CMakeLists.txtalready does for a library without one (add_library(... SHARED EXCLUDE_FROM_ALL Export.cpp), include dir,configure_windows_unwind), so it changes nothing. Drop it, or say what it needs that the default doesn't give.set_tests_properties(guest_playready PROPERTIES TIMEOUT 20). Keep it if the move stays.GuestPlayReady.cpp:99pinsscePlayReadyMemGetStats() == 0x80004001. That value is a placeholder inExport.cppwith no reference behind it, so the test only checks the code against itself. Either cite where the return comes from (firmware disassembly, as the neighbouring entries do), or make the export throw withNotImplemented_nid_no_patchand list it in the debt file.docs/dev/debt/libScePlayReady.md"Functional" entry describes the PR, not a gap. Debt lines record what is unknown or approximated; remove it.mainincore/libs/CMakeLists.txt; rebase after the above.feat; usetest(...)/build(...)if something remains.Pull request closed