mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
Return COMMON_DIALOG_ERROR_ARG_NULL (0x80B8000D) from scePlayerSelectionDialogGetResult and scePlayerSelectionDialogParamInitialize when output memory cannot be written, rather than crashing with SIGSEGV in host space. - Write parameter and result data safely via GuestCopyOut_nid_no_patch. - Preserve caller errno across copy checks. - Add regression coverage in GuestPlayerSelectionDialog.cpp for unwritable destinations. - Document host-safety fallbacks in docs/dev/debt/libScePlayerSelectionDialog.md.
979 B
979 B
libScePlayerSelectionDialog technical debt
Silent stubs
- libScePlayerSelectionDialog, scePlayerSelectionDialogGetResult shows no selection UI and immediately reports cancellation. Account discovery, selection and successful-result list delivery are not implemented; returning
0x80B8000Dfor an unwritable result pointer is a host-safety fallback with console behavior unmeasured.
Unknown function info
- scePlayerSelectionDialogParamInitialize (libScePlayerSelectionDialog) - zeroes the parameter, sets the common dialog base size and address-derived magic, and sets the public size; returning
0x80B8000Dfor an unwritable parameter pointer is a host-safety fallback with console behavior unmeasured. The console defaults for caller-owned fields and the exact behavior when reinitializing a populated parameter remain unverified.