fix(libSceNpManager): accept sceNpSetContentRestriction with null check #3187

Closed
danzaio wants to merge 1 commit from upstream-pr/3187 into main
danzaio commented 2026-10-11 00:45:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by danzaio on 2026-10-11T00:45:31Z.


NpManager calls reject a null pointer with invalid-argument, except this one threw NotImplemented first. A title that probes content restriction support with a null call stops on the throw instead of reading the error.

This accepts the restriction and reports success, with null meaning invalid argument like its neighbors. Nothing is stored since no user is signed in to PSN. Red aborts in guest_np_manager, green passes 1/1 on Windows (MinGW 15.2).

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4815559514 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3187). Originally posted by [danzaio](https://github.com/danzaio) on 2026-10-11T00:45:31Z. --- NpManager calls reject a null pointer with invalid-argument, except this one threw NotImplemented first. A title that probes content restriction support with a null call stops on the throw instead of reading the error. This accepts the restriction and reports success, with null meaning invalid argument like its neighbors. Nothing is stored since no user is signed in to PSN. Red aborts in guest_np_manager, green passes 1/1 on Windows (MinGW 15.2). AI-assisted: yes.
github-actions[bot] commented 2026-10-11 00:45:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T00:45:42Z.


Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6103886701 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3187#issuecomment-6103886701). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T00:45:42Z. --- Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
github-actions[bot] commented 2026-10-11 00:45:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T00:45:53Z.


Progress report (06da117 → 93716ed)

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

✅ 1 implemented
Library Name
libSceNpManager sceNpSetContentRestriction
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6103888077 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3187#issuecomment-6103888077). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T00:45:53Z. --- <!-- progress-report --> ### Progress report (06da117 → 93716ed) 📈 **System libraries**: 85.99% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceNpManager | `sceNpSetContentRestriction` | </details>

Pull request closed

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!3187
No description provided.