mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #2114] [MERGED] Implement sceNpCmp functions #2498
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#2498
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/2114
Author: @StevenMiller123
Created: 1/10/2025
Status: ✅ Merged
Merged: 1/11/2025
Merged by: @polybiusproxy
Base:
main← Head:missing-np-stubs📝 Commits (10+)
7701bf3NpCommon stubs041eb0eParams for NpCmp functionsf2c3010fix2337c4aImplement sceNpCmp functions6d9dc2afix sceNpCmpNpIdInOrder35b7ac2Fix indentation7625b36Clang pt 145ef040Clang pt 2fdd34cbClang69a1725Clang📊 Changes
8 files changed (+9176 additions, -2 deletions)
View changed files
📝
CMakeLists.txt(+3 -1)📝
src/common/logging/filter.cpp(+1 -0)📝
src/common/logging/types.h(+1 -0)📝
src/core/libraries/libs.cpp(+2 -0)➕
src/core/libraries/np_common/np_common.cpp(+7915 -0)➕
src/core/libraries/np_common/np_common.h(+1245 -0)➕
src/core/libraries/np_common/np_common_error.h(+9 -0)📝
src/core/libraries/np_manager/np_manager.cpp(+0 -1)📄 Description
This PR implements sceNpCmpNpId, sceNpCmpNpIdInOrder, and sceNpCmpOnlineId based on decompiled behavior. Since libSceNpCommon hadn't been added yet, I've also included auto generated stubs for the rest of the library's functions.
This probably won't improve compatibility for anything, but it should decrease stub spam in some games.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.