From 0847d46b79a04345a3446336864cefb3b49c40ff Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 8 Apr 2015 12:15:41 -0700 Subject: [PATCH] Remove always-true condition. It was only for logging anyway, can't be that important. --- Core/HLE/sceNetAdhoc.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Core/HLE/sceNetAdhoc.cpp b/Core/HLE/sceNetAdhoc.cpp index b535281f1a..69bb114d89 100644 --- a/Core/HLE/sceNetAdhoc.cpp +++ b/Core/HLE/sceNetAdhoc.cpp @@ -4785,9 +4785,7 @@ int matchingEventThread(int matchingId) if (msg->optlen > 0) opt = ((u8 *)msg) + sizeof(ThreadMessage); //&msg[1] // Log Matching Events - if (msg->opcode >= 0) { - INFO_LOG(SCENET, "EventLoop[%d]: Matching Event [%d=%s] OptSize=%d", matchingId, msg->opcode, getMatchingEventStr(msg->opcode), msg->optlen); - } + INFO_LOG(SCENET, "EventLoop[%d]: Matching Event [%d=%s] OptSize=%d", matchingId, msg->opcode, getMatchingEventStr(msg->opcode), msg->optlen); context->eventlock->unlock(); // Unlock to prevent race-condition with other threads due to recursive lock // Call Event Handler