Repository navigation
feat(font): accept sceFontGlyphDefineAttribute as a silent stub - #1160
Merged
oneandonlydean merged 1 commit intoOct 8, 2026
Merged
Conversation
PPSA01325 stops on sceFontGlyphDefineAttribute right after generating a character glyph: it sets attribute 0x11 to 0 on that glyph, deletes it without using it, and draws the character with sceFontRenderCharGlyphImageHorizontal. The meaning of the attributes is unknown, so the call checks the glyph and ignores the rest; TechnicalDebt lists it under silent stubs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UTjpbMX7BUFMZZaxJE98zV
This was referenced Oct 7, 2026
Merged
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
Astro's Playroom (PPSA01325) terminates on
sceFontGlyphDefineAttribute not implementedduring start-up. Its only call site (0x1877e92) is:The glyph is deleted without being used, and the character is drawn from the font handle and code, not from the glyph. The title does not import
sceFontGlyphGetAttribute. What the attributes mean is unknown (shadPS4 stubs the function too), so this is a silent stub under the rule in CONTRIBUTING (it unblocks a title and only affects the UI): it returnsSCE_FONT_ERROR_INVALID_GLYPHfor a null glyph or one without the glyph magic, andSCE_FONT_OKotherwise, ignoring the attribute and its value. The value is taken as 64 bits because the call site zeroes all ofrdx. TechnicalDebt lists it under silent stubs.sceFontGlyphGetAttributestill throws.Tested
Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7), CMake 4.4.4, Ninja 1.13.2, on 1e5bb88.
guest_fontnow generates a glyph and checks the valid, null and non-glyph cases:--repeat until-fail:3passed 3/3.--target libs, fullctest: 393/393 passed.libSceFont: start-up continues past the font setup to its first presentation. Getting there also needs feat(libs): provide the exports PPSA01325 imports that no library has #1158, feat(libSceAgcDriver): back the global data share with driver-owned guest memory #285 and a locallibSceJobManager.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)🤖 Generated with Claude Code
https://claude.ai/code/session_01UTjpbMX7BUFMZZaxJE98zV