From 7a8448614b9f9daa7069585bf0537b0cd713b090 Mon Sep 17 00:00:00 2001 From: ANR2ME Date: Sun, 4 Apr 2021 02:08:12 +0700 Subject: [PATCH] Fix crashing issue when leaving a multiplayer game room #14337 --- Core/HLE/sceNetAdhoc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceNetAdhoc.cpp b/Core/HLE/sceNetAdhoc.cpp index 68cb58cdf58c..510dd8896577 100644 --- a/Core/HLE/sceNetAdhoc.cpp +++ b/Core/HLE/sceNetAdhoc.cpp @@ -7253,7 +7253,7 @@ int matchingInputThread(int matchingId) // TODO: The MatchingInput thread is usi // Iterate Message List int msg_count = 0; ThreadMessage* msg = context->input_stack; - for (; msg != NULL; msg = msg->next) + while (msg != NULL) { // Default Optional Data void* opt = NULL;