mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-07 00:15:07 -06:00
Initial NWM_INF::RecvBeaconBroadcastData implementation
This commit is contained in:
parent
01baadf7a4
commit
d204bfa05c
@ -4,11 +4,17 @@
|
|||||||
|
|
||||||
#include "common/archives.h"
|
#include "common/archives.h"
|
||||||
#include "core/hle/service/nwm/nwm_inf.h"
|
#include "core/hle/service/nwm/nwm_inf.h"
|
||||||
|
#include "core/hle/service/nwm/nwm_uds.h"
|
||||||
|
|
||||||
SERIALIZE_EXPORT_IMPL(Service::NWM::NWM_INF)
|
SERIALIZE_EXPORT_IMPL(Service::NWM::NWM_INF)
|
||||||
|
|
||||||
namespace Service::NWM {
|
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") {
|
NWM_INF::NWM_INF() : ServiceFramework("nwm::INF") {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
|||||||
@ -12,6 +12,21 @@ class NWM_INF final : public ServiceFramework<NWM_INF> {
|
|||||||
public:
|
public:
|
||||||
NWM_INF();
|
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:
|
private:
|
||||||
SERVICE_SERIALIZATION_SIMPLE
|
SERVICE_SERIALIZATION_SIMPLE
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user