Skip to content

fix: PSP title extraction and PS1 thumbnail alignment - #7

Merged
unveroleone merged 2 commits into
unveroleone:mainfrom
uncreepynuts:pr1-bugfixes
Nov 9, 2026
Merged

unveroleone merged 2 commits into
unveroleone:mainfrom
uncreepynuts:pr1-bugfixes

Conversation

@uncreepynuts

Copy link
Copy Markdown
Contributor
  • Fix PSP save title extraction reading from the wrong PARAM.SFO offset
  • Fix PS1 (Adrenaline) thumbnail misalignment (center using the real texture size instead of a hardcoded one)

sfo_string() indexed from key_off instead of the fixed 20-byte
header, so every lookup went out of bounds and titles never
resolved past the id. Also strip embedded newlines some PSP
save-icon titles carry.
Center using the loaded texture's real size instead of a
hardcoded 144x80 PSP assumption; PS1 icons under Adrenaline
are 80x80.
@unveroleone

Copy link
Copy Markdown
Owner

Code review done, and it builds. Waiting on testing on a real Vita before I merge. I will follow up here once that is done.

@unveroleone
unveroleone merged commit fdccd04 into unveroleone:main Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants