Repository navigation
Conversation
Contributor
|
Use the instruction in readme to generate stubs. Headers for these proprietary libs are currently out of scope for this sdk. Feel free to create a new repo which only contains these headers, I think that would be a more appropriate place to put them |
This was referenced Oct 9, 2026
Contributor
|
fixed in 1a04f75 |
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.
My Vulkan and RetroArch ports currently build their own AGC link stubs because this SDK does not ship
libSceAgcorlibSceAgcDriverstubs. This PR moves the 24 names used by the Vulkan stub set intosce_stubs/, using the existing assembly-symbol format.There are 17 AGC symbols and seven AGCDriver symbols. The existing Makefile builds and installs both libraries without special cases. The payload loader already maps
libSceAgc.sprxandlibSceAgcDriver.sprxto their system-module IDs incrt/rtld_sprx.c.The symbols come from the tracked Vulkan AGC files. No placeholder implementation bodies or C API signatures are copied.
sceAgcInitVersionedis not included. The additional OpenGL-only names mentioned in #69 are outside this initial set.Validation
Built the SDK locally with Clang/LLD 23.1.1, then built and installed the two new stubs. Checked that their dynamic symbol tables contain exactly the 17 and seven expected global function symbols, and their SONAMEs are
libSceAgc.sprxandlibSceAgcDriver.sprx.The new sample references every function address without calling it:
It links through the normal SDK wrapper. Its ELF contains all 24 system imports and both expected
DT_NEEDEDentries.make -C samples/test_agc_imports testcan then exercise loading on a console; if it reachesmain, it prints each resolved address.Draft: I have not run that new sample on a console or independently rechecked every candidate against a firmware export table during this preparation. Existing downstream native-title use is useful evidence, but does not replace ordinary-payload validation. This makes the proposed patch concrete for review while that verification remains outstanding.
Refs #69.