From e059bc980cca5f9657e144930a5ab8ceb31b80c5 Mon Sep 17 00:00:00 2001 From: ANR2ME Date: Fri, 25 Jun 2021 12:22:12 +0700 Subject: [PATCH] Updated Logs on sceNetAdhocDiscover to find more info on games that use AdhocDiscover. --- Core/HLE/sceNetAdhoc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/HLE/sceNetAdhoc.cpp b/Core/HLE/sceNetAdhoc.cpp index b5e12c30b1..e1f5b69867 100644 --- a/Core/HLE/sceNetAdhoc.cpp +++ b/Core/HLE/sceNetAdhoc.cpp @@ -5950,7 +5950,7 @@ const HLEFunction sceNetAdhocctl[] = { }; int sceNetAdhocDiscoverInitStart() { - ERROR_LOG(SCENET, "UNIMPL sceNetAdhocDiscoverInitStart()"); + ERROR_LOG_REPORT_ONCE(sceNetAdhocDiscoverInitStart, SCENET, "UNIMPL sceNetAdhocDiscoverInitStart() at %08x", currentMIPS->pc); return 0; } @@ -5965,13 +5965,13 @@ int sceNetAdhocDiscoverTerm() { } int sceNetAdhocDiscoverUpdate() { - ERROR_LOG(SCENET, "UNIMPL sceNetAdhocDiscoverUpdate()"); + ERROR_LOG(SCENET, "UNIMPL sceNetAdhocDiscoverUpdate() at %08x", currentMIPS->pc); return 0; } int sceNetAdhocDiscoverGetStatus() { ERROR_LOG(SCENET, "UNIMPL sceNetAdhocDiscoverGetStatus()"); - return 0; + return 0; // returning 2 will trigger Legend Of The Dragon to call sceNetAdhocctlGetPeerList } int sceNetAdhocDiscoverRequestSuspend()