Repository navigation
feat(libSceRazorCpu): add sceRazorCpuPlotValue and sceRazorCpuWriteBookmark - #1247
Merged
oneandonlydean merged 1 commit intoOct 7, 2026
Merged
Conversation
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 feat(libkernel): implement sceKernelGetModuleInfoFromAddr on Windows #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)