Skip to content

feat(libSceVrSetupDialog): export sceVrSetupDialogGetStatus - #7394

Merged
adriadam10 merged 2 commits into
boykopovar:mainfrom
ErenYeager1836:feat/vr-setup-dialog-get-status
Oct 19, 2026
Merged

adriadam10 merged 2 commits into
boykopovar:mainfrom
ErenYeager1836:feat/vr-setup-dialog-get-status

Conversation

@ErenYeager1836

@ErenYeager1836 ErenYeager1836 commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

What

Implements sceVrSetupDialogGetStatus in libSceVrSetupDialog.

The function name maps to its respective NID in aerolib via tools/nid_names.py:

  • sceVrSetupDialogGetStatus -> qRUACYyUNFA

Matches the common dialog getter convention across dialog libraries by returning the current atomic dialog status.

Tested

  • python tools/check_conventions.py --base upstream/main passes cleanly.
  • tools/nid_names.py derives matching NID (qRUACYyUNFA).
  • guest_vr_setup_dialog unit test suite passes locally with CTest (100% tests passed out of 1).

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
  • Unblocks: PPSA12544 (Hollow Knight: Silksong) Hollow Knight: Silksong (PPSA12544) #726
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Progress report (fd423f9 → 78c9458)

📈 System libraries: 91.72% (+0.01%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceVrSetupDialog sceVrSetupDialogGetStatus

@github-actions github-actions Bot added the prx label 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

@wachi35676

Copy link
Copy Markdown
Contributor

Confirmed on Windows 11, WinLibs GCC 15.2.0 (MinGW), Release, this PR applied onto main 3e3e8b905. nid_names.py --name sceVrSetupDialogGetStatus gives qRUACYyUNFA, which is in aerolib. guest_vr_setup_dialog passes, and on main the new test fails to link.

#6361 (open) adds the same sceVrSetupDialogGetStatus with the same body; the bot's overlap comment lists it under "Same exports". Merging both would give a duplicate definition, so one of the two should drop it. Also, does PPSA12544 import qRUACYyUNFA? The debt entry only says the title imports the library.

AI-assisted: yes (Claude Code); results above were run on this machine.

@ErenYeager1836

Copy link
Copy Markdown
Contributor Author

Thanks for checking, @wachi35676! Clarified the debt entry in docs/dev/debt/libSceVrSetupDialog.md to note that while PPSA12544 imports the library and qRUACYyUNFA is in aerolib, direct import of this specific NID by PPSA12544 is unconfirmed. Regarding #6361: this focused PR includes the unit test coverage in GuestVrSetupDialog; if #6361 lands first, happy to rebase and drop the export if needed.

@github-actions github-actions Bot added docs unblocks title Names a title ID on the Unblocks line labels Oct 18, 2026
@MarcZX10 MarcZX10 mentioned this pull request Oct 18, 2026
Implement sceVrSetupDialogGetStatus in libSceVrSetupDialog, returning the atomic dialog status, and add unit test coverage in GuestVrSetupDialog.
@ErenYeager1836
ErenYeager1836 force-pushed the feat/vr-setup-dialog-get-status branch from fbcbbce to 78c9458 Compare October 19, 2026 03:40
@adriadam10 adriadam10 self-assigned this Oct 19, 2026
@adriadam10
adriadam10 merged commit 7866e7d into boykopovar:main Oct 19, 2026
12 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked: NID qRUACYyUNFA matches sceVrSetupDialogGetStatus in aerolib, body mirrors sceVrSetupDialogUpdateStatus (no state transitions to distinguish them), new assertions cover the None/Initialized/Finished/None states, and #6361 (same export) is closed so there is no duplicate; merged.

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

Labels

docs prx unblocks title Names a title ID on the Unblocks line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants