Skip to content

Commit

Permalink
network: Remove firing Np callbacks from check stubs. (#2161)
Browse files Browse the repository at this point in the history
  • Loading branch information
squidbus authored Jan 16, 2025
1 parent da2b58f commit 34a5f23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/libraries/network/netctl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int PS4_SYSV_ABI sceNetCtlUnregisterCallbackV6() {
}

int PS4_SYSV_ABI sceNetCtlCheckCallback() {
netctl.CheckCallback();
LOG_DEBUG(Lib_NetCtl, "(STUBBED) called");
return ORBIS_OK;
}

Expand Down Expand Up @@ -373,7 +373,7 @@ int PS4_SYSV_ABI Func_D8DCB6973537A3DC() {
}

int PS4_SYSV_ABI sceNetCtlCheckCallbackForNpToolkit() {
netctl.CheckNpToolkitCallback();
LOG_DEBUG(Lib_NetCtl, "(STUBBED) called");
return ORBIS_OK;
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/libraries/np_manager/np_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2509,7 +2509,7 @@ struct NpStateCallbackForNpToolkit {
NpStateCallbackForNpToolkit NpStateCbForNp;

int PS4_SYSV_ABI sceNpCheckCallbackForLib() {
Core::ExecuteGuest(NpStateCbForNp.func, 1, OrbisNpState::SignedOut, NpStateCbForNp.userdata);
LOG_DEBUG(Lib_NpManager, "(STUBBED) called");
return ORBIS_OK;
}

Expand Down

0 comments on commit 34a5f23

Please sign in to comment.