Files
AnyPS5/docs/dev/debt/libSceGameCustomDataDialog.md
KernelPanicNT 9274f32523 docs(gamecustomdatadialog): move the functional gaps back under Functional
The memory fallback, signed-in check and Initialize gaps are not silent
stubs, so they get their own Functional heading again.
2026-11-12 20:25:51 +00:00

1.8 KiB

libSceGameCustomDataDialog technical debt

Silent stubs

  • libSceGameCustomDataDialog - no dialog is shown and nothing is sent: an accepted sceGameCustomDataDialogOpen or sceGameCustomDataDialogOpenA finishes at once, as if the user cancelled, so the status never becomes RUNNING, sceGameCustomDataDialogClose can only answer COMMON_DIALOG_ERROR_NOT_RUNNING, and GetResult reports COMMON_DIALOG_RESULT_USER_CANCELED with an empty sent-users list.

Functional

  • Unreadable or unwritable guest memory - a param, data param, string, platform list, recipient list, result or sent-users list that can't be read or written makes Open, OpenA, GetResult and GetResultA return COMMON_DIALOG_ERROR_ARG_NULL. That is a host-safety fallback; shadPS4 dereferences them, and the console's behaviour is unmeasured.
  • The signed-in check - Open and OpenA read the signed-in users through sceUserServiceGetLoginUserIdList, so before sceUserServiceInitialize every user counts as signed out and the param is rejected with COMMON_DIALOG_ERROR_INVALID_ARGUMENT.
  • sceGameCustomDataDialogInitialize - doesn't check that the common dialog system was initialized or that another common dialog is in use, which shadPS4 answers with COMMON_DIALOG_ERROR_NOT_SYSTEM_INITIALIZED and COMMON_DIALOG_ERROR_BUSY.