shadPS4/src/core/libraries/np
Stephen Miller a0e7f7fb65
NpManager: Implement more request-related behavior (#3703)
* Implement sceNpCheckPlus

* Rework request storage

We'll need to store more data to "fake" async requests.

* sceNpAbortRequest

Pretty simple to add, so might as well.

* Formatting changes

* Async request logic

There's probably some things I'm getting wrong for cases where PSN is connected, but for reasons that should be pretty obvious, learning how that all works is a little more involved than the PSN disconnected results.

* Add missing error check

* Update np_manager.cpp

* Add a mutex to prevent concurrent reads/writes to g_requests

I imagine multi-threading is a lot more commonly used with the async functions, though I haven't tested enough to know.

* Update np_manager.h

* Move request creation to separate internal function

* Oops

Not sure how that got missed, but good thing I spotted it

* Oops
2025-10-05 17:25:46 -07:00
..
np_auth.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
np_auth.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_common_error.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_common.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
np_common.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_error.h NpManager: Implement more request-related behavior (#3703) 2025-10-05 17:25:46 -07:00
np_manager.cpp NpManager: Implement more request-related behavior (#3703) 2025-10-05 17:25:46 -07:00
np_manager.h NpManager: Implement more request-related behavior (#3703) 2025-10-05 17:25:46 -07:00
np_party_error.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_party.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
np_party.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_profile_dialog.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
np_profile_dialog.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_score.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
np_score.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_sns_facebook_dialog.cpp np: stub sceNpSnsFacebookDialogUpdateStatus (#3661) 2025-09-26 19:19:41 -07:00
np_sns_facebook_dialog.h np: stub sceNpSnsFacebookDialogUpdateStatus (#3661) 2025-09-26 19:19:41 -07:00
np_trophy_error.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_trophy.cpp Use correct trophy folder for games with multiple trophy lists (#3704) 2025-10-05 18:39:14 +03:00
np_trophy.h Trophy fixes IXXXX (#3653) 2025-09-26 00:00:12 -07:00
np_types.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
np_web_api.cpp Core: Remove checks for symbol version_major and version_minor (#3540) 2025-09-08 19:30:03 -07:00
np_web_api.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
trophy_ui.cpp Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00
trophy_ui.h Libraries: Np libraries cleanup (#3535) 2025-09-06 14:32:22 -07:00