From 2b810e766afcaf68990160b927ce503c20bd489b Mon Sep 17 00:00:00 2001 From: Collecting Date: Thu, 22 Jan 2026 05:32:14 +0100 Subject: [PATCH] fix(multiplayer): Add mutable to packet_mutex Signed-off-by: Collecting --- src/core/hle/service/ldn/lan_discovery.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/hle/service/ldn/lan_discovery.h b/src/core/hle/service/ldn/lan_discovery.h index 855f58661..213602ad2 100644 --- a/src/core/hle/service/ldn/lan_discovery.h +++ b/src/core/hle/service/ldn/lan_discovery.h @@ -1,4 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project +// SPDX-FileCopyrightText: Copyright 2026 citron Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once @@ -112,7 +113,7 @@ protected: static constexpr Ssid fake_ssid{"CitronFakeSsidForLdn"}; bool inited{}; - std::mutex packet_mutex; + mutable std::mutex packet_mutex; std::array stations; std::array node_changes{}; std::array node_last_states{};