Repository navigation
fix(libScePlayerSelectionDialog): compute param magic directly from guest pointer - #22468
SwetabhSingh17 wants to merge 1 commit into
Conversation
|
Tested
AI-assisted: yes (Claude Code); the runs are automated, this summary was written from their reports. |
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the magic value now uses the guest parameter pointer, matching the validation performed by scePlayerSelectionDialogOpen.
What I ran
Reviewed head 1d93602dcd1e358c18b8614dbe640965043bb7e0. Read the description, commit list, manifest, diff, and the complete changed Export.cpp, plus include/Api.hpp and matching pointer-magic uses in related code and tests. No commands or tests were run.
Results
| Check | Result | Note |
|---|---|---|
| Diff review | passed | One-line pointer correction |
| Tests | not run | No independent test run |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The author-reported macOS syntax checks, audit, convention check, and overlap check were not independently run. Other changed or excluded files: none listed in the manifest; files.json was not available through the reader.
To get this to a good state
Nothing is required.
|
Merging this pull request would not change |
|
Thanks for looking at this. I'm closing it because If I have this wrong, or you have a title or console evidence that changes it, say so and I'll reopen it. |
What
Avoid evaluating member access
&(param->base)on guest pointer parameterparaminscePlayerSelectionDialogParamInitialize, computing the magic directly fromreinterpret_cast<std::uintptr_t>(param)as done inscePlayerSelectionDialogOpen. BringslibScePlayerSelectionDialogto 0 direct guest pointer accesses (100% clean).Tested
macOS,
clang++syntax check oncore/libs/prx/libScePlayerSelectionDialog/Export.cppandcore/libs/tests/GuestPlayerSelectionDialog.cpp,tools/guest_pointer_audit.py libScePlayerSelectionDialog(0 direct guest pointer accesses),tools/check_conventions.py --base origin/main(passed), andtools/pr_overlap.py --branch fix/libScePlayerSelectionDialog-base-magic-direct-pointer(no overlap across all open PRs).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)