fix(libSceRazorCpu): add sceRazorCpuNamedSync export #1693

Merged
julienlgy merged 2 commits from upstream-pr/1693 into main 2026-10-17 02:02:12 +00:00
julienlgy commented 2026-10-08 16:46:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by julienlgy on 2026-10-08T16:46:53Z.


What

Resolve the XCuZoBSVFG8 import required by Killzone Liberation by adding sceRazorCpuNamedSync as a no-op returning success when capture is inactive.

Extend the RazorCpu behavior test and document the NID source and unverified console signature and capture behavior.

Tested

Windows, Killzone Liberation

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • [] New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4790026701 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693). Originally posted by [julienlgy](https://github.com/julienlgy) on 2026-10-08T16:46:53Z. --- ### What Resolve the XCuZoBSVFG8 import required by Killzone Liberation by adding sceRazorCpuNamedSync as a no-op returning success when capture is inactive. Extend the RazorCpu behavior test and document the NID source and unverified console signature and capture behavior. ### Tested Windows, Killzone Liberation ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-08 16:47:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T16:47:20Z.


Progress report (2d16248 → b35caff)

➖ System libraries: 89.39% (+0.0%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceRazorCpu sceRazorCpuNamedSync
⚪ 1 behaviourally empty (constant return or throw)
Library Name
libSceRazorCpu sceRazorCpuNamedSync
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6064720638 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6064720638). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-08T16:47:20Z. --- <!-- progress-report --> ### Progress report (2d16248 → b35caff) ➖ **System libraries**: 89.39% (+0.0%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceRazorCpu | `sceRazorCpuNamedSync` | </details> <details> <summary>⚪ 1 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceRazorCpu | `sceRazorCpuNamedSync` | </details>
oneandonlydean commented 2026-10-09 09:22:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T09:22:29Z.


Which Killzone Liberation title ID is this, and what's the log line where it stops on main? Please also fill in the template's Depends on (none) and answer AI-assisted with yes or no; that's what the conventions check is failing on.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6078123738 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6078123738). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-09T09:22:29Z. --- Which Killzone Liberation title ID is this, and what's the log line where it stops on main? Please also fill in the template's `Depends on` (none) and answer AI-assisted with yes or no; that's what the conventions check is failing on.
popcoder565 commented 2026-10-09 15:45:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T15:45:55Z.


Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head d228ead7, merged onto main d70b8998 in one build with 38 other PRs that had no Windows run.

  • This PR's tests pass: guest_razor_cpu. None of them reported skipping a case.
  • Full ctest in that build: 519 of 519. That needed local fixes to three other PRs in the batch that don't build or pass on Windows: #1611, #1796 and #1824 (reported there).

No title was run.

🤖 Addressed by Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6084263428 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6084263428). Originally posted by [popcoder565](https://github.com/popcoder565) on 2026-10-09T15:45:55Z. --- Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head `d228ead7`, merged onto `main` d70b8998 in one build with 38 other PRs that had no Windows run. - This PR's tests pass: `guest_razor_cpu`. None of them reported skipping a case. - Full ctest in that build: 519 of 519. That needed local fixes to three other PRs in the batch that don't build or pass on Windows: #1611, #1796 and #1824 (reported there). No title was run. _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_
adriadam10 commented 2026-10-09 21:38:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T21:38:53Z.


Checked build and full ctest on Linux on top of current main (guest_razor_cpu passes), plus @popcoder565's Windows run above.

Pushed one commit on your branch:

  • sceRazorCpuNamedSync now takes const char* label: SharpProspero documents it as the named frame-boundary event (RazorCpu.cs), shadPS4's argument-less stub is not the signature. The test passes a label and the TechnicalDebt line says where each part comes from.

I also set Depends on: none in the PR body. Still needed from you: answer AI-assisted (yes/no) in the PR body, the only thing the conventions check still fails on, and @oneandonlydean's question about the title ID and where it stops on main. Merging once conventions and CI are green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6089694672 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6089694672). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-09T21:38:53Z. --- Checked build and full ctest on Linux on top of current main (`guest_razor_cpu` passes), plus @popcoder565's Windows run above. Pushed one commit on your branch: - `sceRazorCpuNamedSync` now takes `const char* label`: SharpProspero documents it as the named frame-boundary event (`RazorCpu.cs`), shadPS4's argument-less stub is not the signature. The test passes a label and the TechnicalDebt line says where each part comes from. I also set `Depends on: none` in the PR body. Still needed from you: answer `AI-assisted` (yes/no) in the PR body, the only thing the conventions check still fails on, and @oneandonlydean's question about the title ID and where it stops on main. Merging once conventions and CI are green.
adriadam10 commented 2026-10-09 22:14:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T22:14:08Z.

Review: DISMISSED


The code is fine as it stands (including the label argument commit I pushed), but the conventions check is still red: AI-assisted in the PR body still reads <!-- yes / no -->. Please edit the description and answer it with yes or no. It's the only thing failing; I'll merge once conventions is green.

@oneandonlydean's question is still open too: which title ID is this, and where does it stop on main?

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5475839770 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#pullrequestreview-5475839770). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-09T22:14:08Z. **Review:** DISMISSED --- The code is fine as it stands (including the `label` argument commit I pushed), but the `conventions` check is still red: `AI-assisted` in the PR body still reads `<!-- yes / no -->`. Please edit the description and answer it with yes or no. It's the only thing failing; I'll merge once conventions is green. @oneandonlydean's question is still open too: which title ID is this, and where does it stop on main?
adriadam10 commented 2026-10-11 09:22:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T09:22:30Z.


Ready to merge from my side, but the PR description fails the conventions check:

  • [pr-template] Fill in the pull request template: answer AI-assisted with yes or no

Please fill those template lines in (only you can answer AI-assisted); it merges once they pass.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6107544139 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6107544139). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T09:22:30Z. --- Ready to merge from my side, but the PR description fails the conventions check: - [pr-template] Fill in the pull request template: answer AI-assisted with yes or no Please fill those template lines in (only you can answer AI-assisted); it merges once they pass.
julienlgy commented 2026-10-11 19:14:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by julienlgy on 2026-10-11T19:14:18Z.


Just Updated description

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6112691427 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6112691427). Originally posted by [julienlgy](https://github.com/julienlgy) on 2026-10-11T19:14:18Z. --- Just Updated description
oneandonlydean commented 2026-10-11 21:16:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T21:16:36Z.


Which title ID is Killzone Liberation here, and what is the log line where it stops on main?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6113850460 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6113850460). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T21:16:36Z. --- Which title ID is Killzone Liberation here, and what is the log line where it stops on main?
github-actions[bot] commented 2026-10-15 12:05:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:05:37Z.


Some 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.

Pull request Shared files not compared
PR 6044 core/libs/tests/GuestRazorCpu.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191631261 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6191631261). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:05:37Z. --- <!-- pr-overlap --> Some 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. | Pull request | Shared files not compared | |---|---| | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/tests/GuestRazorCpu.cpp` |
oneandonlydean commented 2026-10-17 01:37:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-17T01:37:52Z.


Rebased onto main (e751dd205), keeping both commits and their authors. The only conflicts were next to the new sceRazorCpuPushMarker in Export.cpp and GuestRazorCpu.cpp (kept both), and the debt entry moved to docs/dev/debt/libSceRazorCpu.md. It builds and guest_razor_cpu passes locally, and it still merges cleanly with current main. Full CI is running on the new head.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6228041600 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1693#issuecomment-6228041600). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-17T01:37:52Z. --- Rebased onto main (e751dd205), keeping both commits and their authors. The only conflicts were next to the new `sceRazorCpuPushMarker` in Export.cpp and GuestRazorCpu.cpp (kept both), and the debt entry moved to `docs/dev/debt/libSceRazorCpu.md`. It builds and `guest_razor_cpu` passes locally, and it still merges cleanly with current main. Full CI is running on the new head.
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
boykopovar/AnyPS5!1693
No description provided.