Skip to content

fix(libSceVrSetupDialog): finish dialog on close - #7399

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
MarcZX10:codex/dialog-close-finished
Oct 19, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
MarcZX10:codex/dialog-close-finished

Conversation

@MarcZX10

@MarcZX10 MarcZX10 commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

What

Set the VR Setup dialog status to COMMON_DIALOG_STATUS_FINISHED when sceVrSetupDialogClose succeeds. Add regression assertions for FINISHED status and the canceled result after closing.

Tested

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@MarcZX10
MarcZX10 force-pushed the codex/dialog-close-finished branch from 389b81c to c616322 Compare October 18, 2026 04:42
@MarcZX10
MarcZX10 force-pushed the codex/dialog-close-finished branch from c616322 to 1bb663f Compare October 18, 2026 04:47
@MarcZX10 MarcZX10 changed the title fix(dialogs): finish common dialogs on close fix(libSceVrSetupDialog): finish dialog on close Oct 18, 2026
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6044 core/libs/tests/GuestVrSetupDialog.cpp

@github-actions github-actions Bot added the prx label Oct 18, 2026

@jotitadev jotitadev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linux run, since the description notes the test stops at the host CPU guard before its assertions.

Machine: Linux x86_64, i7-8700, Ubuntu 26.04, GCC 15.2, Release, BUILD_TESTING=ON, full build.
Head 1bb663f68 merged onto main 9caecfd2d (clean merge).

  • guest_vr_setup_dialog passes, as do the other common dialog tests (ctest -R dialog, 15 tests).
  • GuestVrSetupDialog.cpp only, on main: fails at Require(sceVrSetupDialogUpdateStatus() == kStatusFinished) after sceVrSetupDialogClose(), so the new lines cover the change.
  • Non-GPU suite (ctest -E "^agc|gpu|vulkan|video_out"): 712/712, same as main.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

@MarcZX10

Copy link
Copy Markdown
Contributor Author

Thanks for checking both states. That confirms the distinction I wanted the regression to cover: the test-only change fails on current main after sceVrSetupDialogClose(), while the complete PR passes in your Linux run. The broader 15 dialog tests and 712 non-GPU tests passing are useful context too.

@MarcZX10 MarcZX10 mentioned this pull request Oct 18, 2026
@adriadam10 adriadam10 self-assigned this Oct 19, 2026
@adriadam10
adriadam10 merged commit bcb65a3 into boykopovar:main Oct 19, 2026
10 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked against the sibling common dialogs (Signin, PlayerSelection, PlayGo set FINISHED on Close). The new assertions fail on main and pass with the change (confirmed by @jotitadev on Linux); merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants