From 14eb3126780d565487dce1da0703281c4aee9d45 Mon Sep 17 00:00:00 2001 From: PTRCoder Date: Fri, 23 Aug 2024 00:14:41 +0200 Subject: [PATCH] Using correct way to call UDS service --- src/core/hle/service/nwm/nwm_inf.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/nwm/nwm_inf.cpp b/src/core/hle/service/nwm/nwm_inf.cpp index a5e28f783..b797034cf 100644 --- a/src/core/hle/service/nwm/nwm_inf.cpp +++ b/src/core/hle/service/nwm/nwm_inf.cpp @@ -12,13 +12,14 @@ namespace Service::NWM { NWM_INF::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) { // TODO(PTR) Update implementation to cover differences between NWM_INF and NWM_UDS - NWM_UDS::RecvBeaconBroadcastData(ctx); + auto nwm_uds = Core::System::GetInstance().ServiceManager().GetService("nwm::UDS"); + nwm_uds->HandleSyncRequest(ctx); } NWM_INF::NWM_INF() : ServiceFramework("nwm::INF") { static const FunctionInfo functions[] = { // clang-format off - {0x0006, nullptr, "RecvBeaconBroadcastData"}, + {0x0006, NWM_INF::RecvBeaconBroadcastData, "RecvBeaconBroadcastData"}, {0x0007, nullptr, "ConnectToEncryptedAP"}, {0x0008, nullptr, "ConnectToAP"}, // clang-format on