feat(libSceFreeTypeOt): implement disabled trace queries #12814
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12814"
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 xdCloudy on 2026-10-29T10:58:02Z.
What
Implement two identified
libSceFreeTypeOttrace-query exports, preserving the behaviour observed in PS5 firmware 13.60.08-mhD-AAdsFT_Trace_Get_Count064XMq6sDxUoFT_Trace_Get_Namenullptrfor any integer indexBoth use typed
APS5_VABIdeclarations. They do not forward to host FreeType, so host tracing configuration cannot change their results.Evidence
libSceFreeTypeOt.sprx8449800A6FC4AA8A71576A84C98BC171F9D9C643220C3269206EEA5E9B5782070x10410and0x10420, bothxor eax,eax; retThe PS5 3.20 export inventory provides the function identities. FreeType declarations establish the parameter and return types.
The firmware instructions establish the observed constant return values, not independently the complete function prototypes. Neither body reads arguments, so the parameter counts and widths follow the public FreeType API and remain unverified as console source-language prototypes. Console-runtime and cross-firmware equivalence remain unverified.
No firmware binaries or disassembly artifacts are committed.
Implementation
libSceFreeTypeOt.hpp.guest_freetype_ot_constantsregression test.Upstream reconciliation
Merge commit:
68c7406Reconciled against upstream
mainat18f5949on 31 October 2026.No competing implementation of these two target NIDs was identified in the previously reviewed overlapping PRs. Shared files may still require reconciliation if further upstream changes land.
Tested
Windows x86_64, WinLibs GCC, Release, BUILD_TESTING=ON:
guest_freetype_ot_constants_testsandguest_freetype_corner_tests.public_headersand allpublic_headers_compile_*: 65/65 passed.These local checks cover the revised debt caveat. No console runtime validation or local Linux build was performed. New-head hosted checks are pending.
Checklist
Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:54:03Z.
Review: COMMENTED
You're right on both points, and I'm withdrawing the review.
FT_Trace_Get_CountandFT_Trace_Get_Name), and the 13.60 firmware disassembly is cited in the description.Unblocks: none, and that line only decides which pull requests reviewers read first. I presented a review-queue practice as a requirement, and that was wrong.The open items are the ones oneandonlydean listed: the parameter-count caveat for
FT_Trace_Get_Count, the include of the owning header inExport.cpp, and the recomputed unknown-export count.