feat(exports): implement three small PRAGMATA exports #3791
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3791"
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 YossiYad on 2026-10-11T16:43:58Z.
What
Carries screamm's three
screamm/AnyPS5:feat/pragmata-small-exportscommits from #3767 unchanged onto currentmain, preserving their author, one per function:sceNpEntitlementAccessGetGameTrialsFlag(uint32_t* flag)writes 0 (full game) and returns 0, or0x817D0002for a null pointer. This is PRAGMATA's reported stop onmain(#3043):sceNpEntitlementAccessGetGameTrialsFlag not implemented.sceRazorCpuSync()returns 0 and does nothing, like the other Razor exports without an attached capture; listed under TechnicalDebt's silent stubs.sceSharePlayProhibitController(int prohibited)returns 0 for 0 and 1 and throws for other values; the setting is not stored, as no Share Play session exists.PRAGMATA imports
sceRazorCpuSyncandsceSharePlayProhibitController, which no library exported, so it fails to load without them. The null-pointer code and a possible second argument ofGetGameTrialsFlagare recorded in TechnicalDebt.The library progress moves from 2903/3383 (85.81%) to 2906/3385 (85.85%). The total rises by two because the Razor and Share Play calls were not exported before.
Closes #3767.
Tested
Linux (Bazzite 44, GCC 16.2.1, Ninja, Release,
-DBUILD_TESTING=ON), based onmaina11c8f7f:libs, and fullctest: 824 pass, 8 skip, no failures (832 registered tests).guest_offline_imports,guest_razor_cpuandguest_share_playpass at each of the three commits on its own. This is the first Linux run of the commits; the author reported Windows only.tools/check_conventions.py --base upstream/mainandgit diff --checkpass.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T16:46:42Z.
Progress report (
3e0e01f→9698804)📈 System libraries: 86.4% (+0.04%, +3 implemented functions)
✅ 3 implemented
sceNpEntitlementAccessGetGameTrialsFlagsceRazorCpuSyncsceSharePlayProhibitController⚪ 1 behaviourally empty (constant return or throw)
sceRazorCpuSyncImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T22:50:16Z.
Test from PRAGMATA (PPSA02530), Windows, MinGW GCC 15.2.0: the import audit on
mainplus this PR no longer listssceRazorCpuSyncorsceSharePlayProhibitController, which the title imports. With the rest of the stack applied (#3537, #3737, #3517, #3604, #3707 and my export PRs #3799 and #3773) the title gets through the loader and starts; it then crashes in the title's own code (0xc0000005, write at0x20,app.exe+0x26917; the known allocator/ASLR matter of #3043). Not tested: this PR alone, and what the title does with the two calls.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-12T08:24:15Z.
Needs another rebase:
docs/dev/TechnicalDebt.mdconflicts with main again, and eligibility fails on 24c052a32 because of it.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T20:01:51Z.
Rebased onto current
main(the debt entries moved todocs/dev/debt/<library>.md): the three commits are unchanged, and the three TechnicalDebt entries now live indebt/libSceNpEntitlementAccess.md(Functional, replacing the old PPSA08427 "no parameters" line),debt/libSceRazorCpu.md(Silent stubs) anddebt/libSceSharePlay.md(Functional).guest_offline_imports,guest_razor_cpuandguest_share_playpass on the rebased tree. Merging once CI is green.