From fa92cda23d7ca20a1f08b19d70a7dcef44790234 Mon Sep 17 00:00:00 2001 From: ANR2ME Date: Thu, 16 Sep 2021 14:13:17 +0700 Subject: [PATCH] Minor change to AdhocMatching logging --- Core/HLE/sceNetAdhoc.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Core/HLE/sceNetAdhoc.cpp b/Core/HLE/sceNetAdhoc.cpp index d792b16cc6..3231ad6c6e 100644 --- a/Core/HLE/sceNetAdhoc.cpp +++ b/Core/HLE/sceNetAdhoc.cpp @@ -5468,16 +5468,16 @@ int sceNetAdhocMatchingAbortSendData(int matchingId, const char *mac) { // Get the maximum memory usage by the matching library static int sceNetAdhocMatchingGetPoolMaxAlloc() { - ERROR_LOG(SCENET, "UNIMPL sceNetAdhocMatchingGetPoolMaxAlloc()"); + ERROR_LOG(SCENET, "UNIMPL sceNetAdhocMatchingGetPoolMaxAlloc() at %08x", currentMIPS->pc); if (!g_Config.bEnableWlan) return -1; // Lazy way out - hardcoded return value - return fakePoolSize/2; // (50 * 1024); + return hleLogDebug(SCENET, fakePoolSize/2, "faked value"); } int sceNetAdhocMatchingGetPoolStat(u32 poolstatPtr) { - DEBUG_LOG(SCENET, "UNTESTED sceNetAdhocMatchingGetPoolStat(%08x)", poolstatPtr); + DEBUG_LOG(SCENET, "UNTESTED sceNetAdhocMatchingGetPoolStat(%08x) at %08x", poolstatPtr, currentMIPS->pc); if (!g_Config.bEnableWlan) return -1; @@ -5500,11 +5500,11 @@ int sceNetAdhocMatchingGetPoolStat(u32 poolstatPtr) { } // Invalid Argument - return ERROR_NET_ADHOC_MATCHING_INVALID_ARG; + return hleLogError(SCENET, ERROR_NET_ADHOC_MATCHING_INVALID_ARG, "adhocmatching invalid arg"); } // Uninitialized Library - return ERROR_NET_ADHOC_MATCHING_NOT_INITIALIZED; + return hleLogError(SCENET, ERROR_NET_ADHOC_MATCHING_NOT_INITIALIZED, "adhocmatching not initialized"); } void __NetTriggerCallbacks()