mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #2195] [MERGED] Additional libSceNpManager functions and cleanup #2553
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2553
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2195
Author: @StevenMiller123
Created: 1/20/2025
Status: ✅ Merged
Merged: 1/20/2025
Merged by: @squidbus
Base:
main← Head:np-fixes📝 Commits (10+)
11192d0Error return on sceNpGetAccountIdA72255f7Fix compile9fac6c7Move errors to separate file64684f9Cleanup function headers38a8f51Add proper parameter checks3a2bd69Implement sceNpGetAccountId696b898Implement sceNpHasSignedUp2d21c74Fix sceNpGetAccountIdfc4dc99Update np_manager.cppac65541Merge remote-tracking branch 'upstream/main' into np-fixes📊 Changes
3 files changed (+47 additions, -18 deletions)
View changed files
📝
src/core/libraries/np_manager/np_manager.cpp(+32 -10)📝
src/core/libraries/np_manager/np_manager.h(+6 -8)➕
src/core/libraries/np_manager/np_manager_error.h(+9 -0)📄 Description
This PR implements sceNpGetAccountId, sceNpGetAccountIdA, and sceNpHasSignedUp based on observed PS4 behavior. Function parameters were based on fpPS4 code.
I've also added null parameter checks to various implemented NpManager functions, and cleaned up various parts of our NpManager code to make it better align with our current coding practices.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.