Files
AnyPS5/docs/dev/debt/libSceNpProfileDialog.md
T
MarcZX10 3960481e25 docs(libSceNpProfileDialog): record the unmeasured PSN notice
The debt entry says that the notice shown with ANYPS5_PSN_DIALOGS=show is
AnyPS5's, and that what the console displays for this call without PlayStation
Network is not measured.
2026-10-30 18:50:09 +00:00

2.6 KiB

libSceNpProfileDialog technical debt

Silent stubs

Unknown function info

  • sceNpProfileDialogOpen, sceNpProfileDialogOpenA, sceNpProfileDialogGetResult (libSceNpProfileDialog) - the layouts come from the shadPS4 header alone: SceNpProfileDialogParam 128 bytes with userData at 88, SceNpProfileDialogParamA 120 bytes with 4 unnamed bytes after targetAccountId and userData at 80, the result 48 bytes. A param whose size is not that size, or whose mode is not 1 to 4, throws. baseParam (size, magic), userId and the target ID are not checked.
  • sceNpProfileDialogOpen, sceNpProfileDialogOpenA, sceNpProfileDialogClose, sceNpProfileDialogGetResult (libSceNpProfileDialog) - these paths throw because shadPS4 and the other common dialogs here return different errors: Open or OpenA before Initialize (shadPS4 INVALID_STATE, the Signin family NOT_INITIALIZED); Close on a dialog that is not running, which is every Close after Initialize here (shadPS4 NOT_RUNNING, the Signin family 0 and FINISHED); GetResult with a null result before the dialog finishes (shadPS4 ARG_NULL, Signin and NetCtlAp NOT_FINISHED).

Functional

  • sceNpProfileDialogInitialize (libSceNpProfileDialog) - never returns shadPS4's NOT_SYSTEM_INITIALIZED (sceCommonDialogInitialize not called) or BUSY (another common dialog in use): libSceCommonDialog shares neither state here.