feat(libSceMsgDialog.native): answer user messages from the host box with ANYPS5_MSG_DIALOG_HOST #17729
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17729"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-09T13:12:16Z.
What
Extends the user message box to the native variant, libSceMsgDialog.native. With
ANYPS5_MSG_DIALOG_HOST=1(the same switch as libSceMsgDialog, not on Apple builds),sceMsgDialogOpenof libSceMsgDialog.native shows the text in the host message box and answers with the button picked there. If the box cannot be shown, the in-game dialog is used, as before.Both modules now give the same answer for the same switch. The shared code (the box, its switch and its button mapping) is in libSceIme, so this module only adds the call.
Notification-style PSN notices are not in this PR: they are not blocking, and the desktop notices of
ANYPS5_HOST_NOTIFYalready cover them.This PR is stacked on #17719, which is stacked on #17706. Merge those first.
Commits: the parameter parsed once (no behaviour change), the includes and the platform switch, the host answer path, the environment row, and the debt note.
Tested
Linux, built with
guest_msg_dialog_native_tests,guest_msg_dialog,guest_error_dialog,ime_host_message_boxand thelibSceMsgDialog.nativelibrary; ctest passes 4/4.GPUs tested: n/a, no graphics code.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T17:04:58Z.
Review: COMMENTED
The current head and the PR description disagree about where the shared host box lives. This head adds the native module's dependency on
libSceMsgDialogand callsShowHostMessageBox_nid_postfixfrom it. The description says it calls the shared implementation inlibSceImeafter #17719. Please update the stack or the test evidence to match the actual head so the two libraries are tested against the intended provider.AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.