Skip to content

feat(libSceNpPartner001): implement EA access init and terminate - #3718

Merged
adriadam10 merged 2 commits into
boykopovar:mainfrom
MarcZX10:codex/libsce-np-ea-access-3339
Oct 12, 2026
Merged

adriadam10 merged 2 commits into
boykopovar:mainfrom
MarcZX10:codex/libsce-np-ea-access-3339

Conversation

@MarcZX10

Copy link
Copy Markdown
Contributor

What

Implements sceNpEAAccessInitialize and sceNpEAAccessTerminate with explicit initialization state, adds guest_np_partner coverage, and records unresolved console behavior in TechnicalDebt.

Carried David's ready commit unchanged, preserving its author metadata.

Tested

Linux Release verification on the rebased change: guest_np_partner, the kernel test suites, and full suite (832/832) passed; conventions and git diff --check passed. Windows Release verification on the original commit: guest_np_partner 3/3 and full suite 508/508 (excluding AGC driver and video flip tests; the reported unrelated #3329 test fix was applied locally). Independent Linux verification is documented in issue #3339.

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
  • No notes or investigation files added
  • Generic behavior
  • Depends on: none
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Progress report (1acfa7f → 92aa5b9)

📈 System libraries: 86.42% (+0.06%, +2 implemented functions)

✅ 2 implemented
Library Name
libSceNpPartner001 sceNpEAAccessInitialize
libSceNpPartner001 sceNpEAAccessTerminate

@adriadam10

Copy link
Copy Markdown
Collaborator

Checked build + ctest on Linux (scope 20/20), guest_np_partner passes and aborts against main's stub (negative check). Init/terminate state and the throwing cases match shadPS4/KytyPS5 where they agree and are listed in TechnicalDebt.

Added on your branch:

  • removed the old sceNpEAAccessInitialize, sceNpEAAccessTerminate line under "Unknown function info", now stale;
  • moved the new TechnicalDebt line a few lines up so it isn't the last of "Functional" (avoids adjacency conflicts); rebased on current main.

Merging once CI is green.

@github-actions github-actions Bot mentioned this pull request Oct 11, 2026
9 tasks done
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked build + ctest on Linux (scope 20/20), guest_np_partner passes and aborts against main's stub (negative check). Init/terminate state and the throwing cases match shadPS4/KytyPS5 where they agree and are listed in TechnicalDebt.

Added on your branch:

  • removed the old sceNpEAAccessInitialize, sceNpEAAccessTerminate line under "Unknown function info", now stale;
  • moved the new TechnicalDebt line a few lines up so it isn't the last of "Functional" (avoids adjacency conflicts); rebased again on current main (adjacency conflict in TechnicalDebt only).

Merging once CI is green.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

A title is required for this to merge: which title stops at sceNpEAAccessInitialize or sceNpEAAccessTerminate on main? #3339 says no run has reached them. With the title ID and the log line where it stops, this can go in.

@MarcZX10
MarcZX10 force-pushed the codex/libsce-np-ea-access-3339 branch from 884c5fc to 7c45cad Compare October 12, 2026 18:42
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 12, 2026
David and others added 2 commits October 12, 2026 18:46
…EAAccessTerminate

UFC 6 (PPSA23566) imports both. Initialization marks the library
initialized and termination clears it, as in shadPS4. Termination
without initialization and a second initialization throw, since no
PS5 source settles their results.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit d2866a8)
…the new one off the section end

Co-Authored-By: Claude <noreply@anthropic.com>
@MarcZX10
MarcZX10 force-pushed the codex/libsce-np-ea-access-3339 branch from 7c45cad to 92aa5b9 Compare October 12, 2026 18:48
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 12, 2026
@github-actions

github-actions Bot commented Oct 12, 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
#4447 core/libs/prx/libSceNpPartner001/Export.cpp L1, L5-6

@adriadam10

Copy link
Copy Markdown
Collaborator

Rechecked on current main: build + ctest on Linux (scope 22/22), guest_np_partner passes. The head already carries our TechnicalDebt fix and merges cleanly.

On @oneandonlydean's question: UFC 6 (PPSA23566) imports both exports (#992); no run has stopped on them yet, so there is no log line to give. The behaviour is the minimal init/terminate state, throwing on the unverified cases, listed in TechnicalDebt.

Merging once CI is green.

@adriadam10
adriadam10 merged commit 70da6f4 into boykopovar:main Oct 12, 2026
8 checks passed
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.

3 participants