Skip to content

refactor(libc): read the title's compiled SDK version through one helper - #26296

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
LeandroLP23:refactor/compiled-sdk-version-helper
Nov 23, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
LeandroLP23:refactor/compiled-sdk-version-helper

Conversation

@LeandroLP23

Copy link
Copy Markdown
Contributor

What

First step of #26276, as agreed there. Sixteen libraries each define their own function that returns the compiled SDK version of the running title, the 32-bit field at offset 0x10 of the process parameters.

#24915 also changes the includes of ApplicationHeap.hpp and cannot be compared automatically because it conflicts with main. git merge-tree of its head with this branch merges that file cleanly.

33 lines added and 102 removed.

No change in behaviour.

Tested

Windows 11 (10.0.26300), WinLibs GCC 15.2.0 r7, Release. ctest -R 'guest_content_export|convert_keycode|gnm_driver_compat1|guest_hmd($|_)|^guest_move$|np_commerce|guest_np_web_api|guest_screenshot|vr_tracker2|video_recording|sdec|application_?heap|process_?param', with its 27 build outputs from tools/select_tests.py targets: 41 of 41 on main efc6f9c3ba and 41 of 41 with this change applied to it. tools/check_conventions.py passes. tools/pr_overlap.py --branch finds no overlap with the 2583 open pull requests apart from #24915, which it cannot compare (above).

Not run: Linux and macOS.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

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 24915 core/libs/prx/libc/include/ApplicationHeap.hpp

@oneandonlydean
oneandonlydean merged commit 972841f into boykopovar:main Nov 23, 2026
22 checks passed
@LeandroLP23
LeandroLP23 deleted the refactor/compiled-sdk-version-helper branch November 26, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants