feat(libSceVrSetupDialog): export sceVrSetupDialogGetStatus #7394

Merged
ErenYeager1836 merged 2 commits from upstream-pr/7394 into main 2026-10-19 19:33:59 +00:00
ErenYeager1836 commented 2026-10-18 04:33:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ErenYeager1836 on 2026-10-18T04:33:45Z.


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) #726
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4906382749 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7394). Originally posted by [ErenYeager1836](https://github.com/ErenYeager1836) on 2026-10-18T04:33:45Z. --- ### 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 <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA12544 (Hollow Knight: Silksong) #726 - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-18 04:34:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T04:34:23Z.


Progress report (fd423f9 → 78c9458)

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

✅ 1 implemented
Library Name
libSceVrSetupDialog sceVrSetupDialogGetStatus
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6245695995 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7394#issuecomment-6245695995). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T04:34:23Z. --- <!-- progress-report --> ### Progress report (fd423f9 → 78c9458) 📈 **System libraries**: 91.72% (+0.01%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceVrSetupDialog | `sceVrSetupDialogGetStatus` | </details>
github-actions[bot] commented 2026-10-18 04:41:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T04:41:09Z.


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
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6245745731 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7394#issuecomment-6245745731). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T04:41:09Z. --- <!-- pr-overlap --> 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](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/tests/GuestVrSetupDialog.cpp` |
wachi35676 commented 2026-10-18 12:05:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-18T12:05:38Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6249705712 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7394#issuecomment-6249705712). Originally posted by [wachi35676](https://github.com/wachi35676) on 2026-10-18T12:05:38Z. --- 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 commented 2026-10-18 12:24:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ErenYeager1836 on 2026-10-18T12:24:25Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6249879857 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7394#issuecomment-6249879857). Originally posted by [ErenYeager1836](https://github.com/ErenYeager1836) on 2026-10-18T12:24:25Z. --- 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.
adriadam10 commented 2026-10-19 19:35:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T19:35:36Z.


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.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6275622803 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7394#issuecomment-6275622803). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-19T19:35:36Z. --- 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 in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!7394
No description provided.