Updated some Logs to help finding the location of the call to debug.

This commit is contained in:
ANR2ME 2021-02-07 12:08:02 +07:00
parent 04434ea68e
commit f17d387a65
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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);
}
@ -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();