Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Services/UDS: Signal the connection event when closing down the network.

Subv6f0271bafe56
diff --git a/src/core/hle/service/nwm/nwm_uds.cpp b/src/core/hle/service/nwm/nwm_uds.cpp
index 1d5b298a2e..e1bf493937 100644
--- a/src/core/hle/service/nwm/nwm_uds.cpp
+++ b/src/core/hle/service/nwm/nwm_uds.cpp
@@ -297,6 +297,7 @@ static void DestroyNetwork(Interface* self) {
CoreTiming::UnscheduleEvent(beacon_broadcast_event, 0);
connection_status.status = static_cast<u8>(NetworkStatus::NotConnected);
+ connection_status_event->Signal();
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);