From ecd557fdc4af356f540180024b86458dfad9eff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 16 May 2026 14:52:49 +0200 Subject: [PATCH] Fix warning --- Core/HLE/sceNetAdhocMatching.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/sceNetAdhocMatching.cpp b/Core/HLE/sceNetAdhocMatching.cpp index 14c6116a2a..7330bae1af 100644 --- a/Core/HLE/sceNetAdhocMatching.cpp +++ b/Core/HLE/sceNetAdhocMatching.cpp @@ -1784,7 +1784,7 @@ static int sceNetAdhocMatchingCreate(int mode, int maxnum, int port, int rxbufle getLocalMac(&localmac); // Clear Memory - memset(context, 0, sizeof(SceNetAdhocMatchingContext)); + *context = {}; // Allocate Receive Buffer context->rxbuf = (uint8_t*)malloc(rxbuflen);