diff --git a/src/core/hle/service/nwm/nwm_inf.cpp b/src/core/hle/service/nwm/nwm_inf.cpp index dca2cbaee..a5e28f783 100644 --- a/src/core/hle/service/nwm/nwm_inf.cpp +++ b/src/core/hle/service/nwm/nwm_inf.cpp @@ -4,11 +4,17 @@ #include "common/archives.h" #include "core/hle/service/nwm/nwm_inf.h" +#include "core/hle/service/nwm/nwm_uds.h" SERIALIZE_EXPORT_IMPL(Service::NWM::NWM_INF) 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); +} + NWM_INF::NWM_INF() : ServiceFramework("nwm::INF") { static const FunctionInfo functions[] = { // clang-format off diff --git a/src/core/hle/service/nwm/nwm_inf.h b/src/core/hle/service/nwm/nwm_inf.h index 9f8c65a2b..4fe9adb35 100644 --- a/src/core/hle/service/nwm/nwm_inf.h +++ b/src/core/hle/service/nwm/nwm_inf.h @@ -12,6 +12,21 @@ class NWM_INF final : public ServiceFramework { public: NWM_INF(); + /** + * NWM::RecvBeaconBroadcastData service function + * Inputs: + * 1 : Output buffer max size + * 2-14 : Input ScanInputStruct. + * 15 : u32, unknown + * 16 : Value 0x0 + * 17 : Input handle + * 18 : (Size<<4) | 12 + * 19 : Output BeaconDataReply buffer ptr + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + */ + void RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx); + private: SERVICE_SERIALIZATION_SIMPLE };