feat(libSceRazorCpu): add sceRazorCpuPlotValue and sceRazorCpuWriteBookmark #1247
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1247"
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 gjonn on 2026-10-07T19:37:05Z.
What
Adds
sceRazorCpuPlotValue(njGikRrxkC0) andsceRazorCpuWriteBookmark(G3brhegfyNg) to libSceRazorCpu.mainexports neither, so PPSA06320 (Ape Escape, PS1HD emulator 1.7) stops at startup withunresolved ELF import njGikRrxkC0 from libSceRazorCpu.prx.Interop/Debug/RazorCpu.cs):int sceRazorCpuPlotValue(const char* series, float value)andint sceRazorCpuWriteBookmark(const char* label, const char* description), with an optional description. They match the title's calls: the plot gets a name inrdiand a float inxmm0(CD-ROM read time in ms), and the bookmark gets a label inrdiand a formattedBLOCKING READ of lba=0x...string inrsi.sceRazorCpuIsCapturingreturns 0), so both do nothing and return 0, likesceRazorCpuPushMarkerStaticandsceRazorCpuPopMarker.Tested
Windows 11, MinGW-w64 GCC 15.2.0, Release:
guest_razor_cpupasses; it now also calls both functions, the bookmark with and without a description.mainit stops at startup on the unresolved import. With this change it gets past it, and the PS1HD emulator starts and loads its configuration up to the next missing function (sceKernelGetModuleInfoFromAddron Windows, which #1188 covers).tools/check_conventions.py --base origin/mainpasses with POSIX path handling, as on CI. Run on Windows, the script reports a falsedoc-link/silent-stubbecauseos.path.normpathreturns backslashes.Linux: not built locally.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.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-07T19:37:29Z.
Progress report (
4764e59→531d5c1)📈 System libraries: 86.06% (+0.01%, +2 implemented functions)
✅ 2 implemented
sceRazorCpuPlotValuesceRazorCpuWriteBookmark