2.5 KiB
2.5 KiB
libSceSaveDataDialog.native technical debt
Silent stubs
- libSceSaveDataDialog.native shows no UI and ignores progress values. Progress-bar mode (5) stays running until closed, matching Skyrim PPSA03747; other modes finish immediately returning button 1 and first nonempty directory. Console timing and selection remain unverified. Error codes follow shadPS4:
sceSaveDataDialogClosereturnsSAVE_DATA_DIALOG_ERROR_NOT_RUNNINGwhen not running,sceSaveDataDialogGetResultreturnsSAVE_DATA_DIALOG_ERROR_NOT_FINISHEDwhen not finished (before null/unwritable checks),sceSaveDataDialogTerminatecloses running dialogs, and progress updates (sceSaveDataDialogProgressBarInc,sceSaveDataDialogProgressBarSetValue) returnSAVE_DATA_DIALOG_ERROR_NOT_RUNNINGwhen not running, rejecting a nonzero target and a rate above 100 withSAVE_DATA_DIALOG_ERROR_PARAM. Parameter size insceSaveDataDialogOpenis unvalidated as console behaviour is unmeasured. - sceSaveDataDialogIsReadyToDisplay returns 1 unconditionally without checking state, following shadPS4 (savedatadialog.cpp at ce74386283); native console readiness state is unmeasured.
Unknown function info
- sceSaveDataDialogGetResult (libSceSaveDataDialog.native) - returning
SAVE_DATA_DIALOG_ERROR_ARG_NULLfor a non-null unwritable result or directory name pointer is a host-safety fallback; console behaviour for unmapped memory is unmeasured. Closes when: measured on a PS5 - sceSaveDataDialogOpen (libSceSaveDataDialog.native) - no overlay dialog is drawn for any mode: the layouts of the user message, system message and error code parameters that the
SaveDataDialogParampointers lead to have no source in this repository or measurement on a PS5, so a dialog is not built from them. Unreadable parameter, items or directory-name pointers returnSAVE_DATA_DIALOG_ERROR_ARG_NULLand leave the previous dialog state unchanged; a directory name with no terminating NUL is rejected the same way. Parameter copy-in reads throughuser_data(120 bytes) to support short older-SDK parameter buffers ending at mapped boundaries. Console results for these inputs are unmeasured.dir_names_numis not capped, so each entry is copied in until the array ends or a copy fails. Closes when: the parameter layouts are measured on a PS5