mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
Assert that sceNpFriendListDialogGetResultA returns COMMON_DIALOG_ERROR_ARG_NULL on a null result pointer prior to checking for unfinished state in the initialized state, preserving 0x5a sentinels when called with a valid buffer. Updates docs/dev/debt/libSceNpFriendListDialog.md citing native PS5 firmware 13.42 module libSceNpFriendListDialog.sprx disassembly (offset 0xa10) and native execution data showing that null result is checked before NOT_FINISHED.
1.9 KiB
1.9 KiB
libSceNpFriendListDialog technical debt
Silent stubs
- sceNpFriendListDialogOpenA (libSceNpFriendListDialog) - with
ANYPS5_PSN_DIALOGS=show, a successful open shows AnyPS5's notice that the feature needs PlayStation Network; the console's own display without PlayStation Network is not measured, and the notice wording is AnyPS5's. - libSceNpFriendListDialog - the friend list dialog (
sceNpFriendListDialogOpenAandsceNpFriendListDialogGetResultA) runs the common-dialog state machine but shows nothing and reports the user as having cancelled, as there is no PSN friend list. InsceNpFriendListDialogGetResultA, checking for a null result pointer (COMMON_DIALOG_ERROR_ARG_NULL) takes precedence over unfinished state (COMMON_DIALOG_ERROR_NOT_FINISHED), matching native PS5 firmware 13.42 modulelibSceNpFriendListDialog.sprxdisassembly (offset0xa10) and native export execution data. The signatures are from Orbital's type database; the result layout beyond the leadingint32_tresult code is not known, so nothing else is written.
Unknown function info
- sceNpFriendListDialogGetResult and sceNpFriendListDialogOpen (libSceNpFriendListDialog) - names and NIDs are present in the PS5 3.20 export inventory, but Orbital has prototypes only for the
Avariants and no credible prototypes were found for these. The declarations have no parameters solely to resolve known imports; this is not an ABI claim and callers must not call them until signatures are verified