mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
1.5 KiB
1.5 KiB
libSceMsgDialog.native technical debt
Silent stubs
- libSceMsgDialog.native - only the user message dialogs that libSceMsgDialog lists as shown wait for the player; every other dialog finishes at
sceMsgDialogOpenwithout UI and answers with button 1, sosceMsgDialogClosereturnsNOT_RUNNINGfor it, and a shown one that no flip drew within three seconds finishes at the next status call with button 1; its result beforesceMsgDialogInitializefollows libSceMsgDialog.sceMsgDialogTerminateresets running or finished dialogs and returns OK, rejecting uninitialized calls withCOMMON_DIALOG_ERROR_NOT_INITIALIZEDfollowing shadPS4; null pointer arguments returnCOMMON_DIALOG_ERROR_ARG_NULL.
Unknown function info
- sceMsgDialogGetResult (libSceMsgDialog.native) returns the button id the player picked in a shown dialog, and 1 for every other dialog and for one the title closed; the result code is always 0. Which button ids and result codes a PS5 reports after a close or a cancel is not measured.
sceMsgDialogOpencloses a dialog that is still waiting and shows the new one, instead of failing as libSceMsgDialog does with busy. Returning0x80b8000d(COMMON_DIALOG_ERROR_ARG_NULL) for a non-null unwritable result pointer is a host-safety fallback; on a console an unmapped pointer faults and its answer is not measured. Closes when: measured on a PS5