Skip to content

fix(libScePad): silent stub for scePadUnknown_n3kSX62fgNo - #6283

Closed
mazen320 wants to merge 2 commits into
boykopovar:mainfrom
mazen320:fix/pad-unknown-n3ksx62fgno-silent-stub
Closed

mazen320 wants to merge 2 commits into
boykopovar:mainfrom
mazen320:fix/pad-unknown-n3ksx62fgno-silent-stub

Conversation

@mazen320

Copy link
Copy Markdown
Contributor

What

scePadUnknown_n3kSX62fgNo (NID n3kSX62fgNo) no longer calls NotImplemented_nid_no_patch. It returns 0.

PPSA01530 and PPSA13356 import it with an unknown signature and fail to load without the export. Debt moved into libScePad Silent stubs; the co-listed note in libSceNet now points here. New guest_pad_unknown_n3k covers the return.

Tested

Windows 11. python tools/check_conventions.py --base upstream/main passed. Full guest_pad_unknown_n3k run needs a configure that picks up the new CMake test target (not re-run here against the dirty main build tree).

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: PPSA01530 / PPSA13356 load for this unknown pad NID
  • GPUs tested: n/a
  • AI-assisted: yes

PPSA01530 and PPSA13356 fail to load without the unknown NID export; return 0
and list it under Silent stubs.
@mazen320

Copy link
Copy Markdown
Contributor Author

Overlap (#6281)

Bot may flag docs/dev/debt/libScePad.md / CMakeLists.txt (Silent stubs section / guest_pad_* tests). Production change here is scePadUnknown_n3kSX62fgNo only. #6281 is scePadUnknown_zBsgF0q8DIM — rebase debt/CMake hunk if that PR lands first. Depends on: none.

@github-actions

Copy link
Copy Markdown

Progress report (0afa6a6 → 3b9279f)

📈 System libraries: 88.74% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libScePad scePadUnknown_n3kSX62fgNo
⚪ 1 behaviourally empty (constant return or throw)
Library Name
libScePad scePadUnknown_n3kSX62fgNo

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 5676 core/libs/prx/libScePad/Export.cpp L315-316
docs/dev/debt/libSceNet.md L5
PR 5928 docs/dev/debt/libSceNet.md L5

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 5038 core/libs/prx/libScePad/Export.cpp
docs/dev/debt/libScePad.md
PR 6044 core/libs/prx/libScePad/CMakeLists.txt

@mazen320

Copy link
Copy Markdown
Contributor Author

Overlap

Bot flagged libScePad/Export.cpp / debt with #5676. This PR is a separate Pad unknown-NID silent stub (n3kSX62fgNo). Depends on: none.

@mazen320

Copy link
Copy Markdown
Contributor Author

Agree with the silent-stub bar from #6274 / CONTRIBUTING: need UI-only (or safe-to-ignore / never-called) evidence, not only a load stop.

This PR only established that the title fails to load without the export. Restored throwing and closing until that evidence exists.

@mazen320

Copy link
Copy Markdown
Contributor Author

Closing: silent stub withdrawn; export(s) throw again pending UI-only / never-called evidence.

@mazen320 mazen320 closed this Oct 15, 2026
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.

1 participant