Skip to content

Commit

Permalink
Updated some Logs to help finding the location of the call to debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
anr2me committed Feb 7, 2021
1 parent 04434ea commit f17d387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Core/HLE/sceNet.cpp
Expand Up @@ -591,7 +591,7 @@ u32 Net_Term() {
}

static u32 sceNetTerm() {
WARN_LOG(SCENET, "sceNetTerm()");
WARN_LOG(SCENET, "sceNetTerm() at %08x", currentMIPS->pc);
int retval = Net_Term();

// Give time to make sure everything are cleaned up
Expand Down
4 changes: 2 additions & 2 deletions Core/HLE/sceNetAdhoc.cpp
Expand Up @@ -2386,7 +2386,7 @@ static u32 sceNetAdhocctlDelHandler(u32 handlerID) {

if (adhocctlHandlers.find(handlerID) != adhocctlHandlers.end()) {
adhocctlHandlers.erase(handlerID);
INFO_LOG(SCENET, "sceNetAdhocctlDelHandler(%d)", handlerID);
INFO_LOG(SCENET, "sceNetAdhocctlDelHandler(%d) at %08x", handlerID, currentMIPS->pc);
} else {
WARN_LOG(SCENET, "sceNetAdhocctlDelHandler(%d): Invalid Handler ID", handlerID);
}
Expand Down Expand Up @@ -2443,7 +2443,7 @@ int NetAdhocctl_Term() {

int sceNetAdhocctlTerm() {
// WLAN might be disabled in the middle of successfull multiplayer, but we still need to cleanup right?
INFO_LOG(SCENET, "sceNetAdhocctlTerm()");
INFO_LOG(SCENET, "sceNetAdhocctlTerm() at %08x", currentMIPS->pc);

//if (netAdhocMatchingInited) NetAdhocMatching_Term();
int retval = NetAdhocctl_Term();
Expand Down

0 comments on commit f17d387

Please sign in to comment.