mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-10 03:11:29 -06:00
Fixed wrong arguments
This commit is contained in:
parent
13f32bd384
commit
4b3ac391d8
@ -229,14 +229,14 @@ void Module::Interface::ScanAPs(Kernel::HLERequestContext& ctx) {
|
||||
|
||||
auto nwm_inf =
|
||||
Core::System::GetInstance().ServiceManager().GetService<Service::NWM::NWM_INF>("nwm::INF");
|
||||
nwm_inf->HandleSyncRequest(context);
|
||||
nwm_inf->HandleSyncRequest(*context);
|
||||
|
||||
// Response should be
|
||||
// 0: Header Code (ignored)
|
||||
// 1: Result Code (Success/Unknown/etc.)
|
||||
// 2: ¿Parsed? beacon data
|
||||
IPC::RequestBuilder rb = rp.MakeBuilder(1, 2);
|
||||
IPC::RequestParser rp2(context);
|
||||
IPC::RequestParser rp2(*context);
|
||||
rb.Push(rp2.Pop<u32>());
|
||||
rb.PushMappedBuffer(rp2.PopMappedBuffer());
|
||||
LOG_WARNING(Service_AC, "(STUBBED) called");
|
||||
|
||||
@ -36,9 +36,9 @@ void NWM_INF::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) {
|
||||
context->PopulateFromIncomingCommandBuffer(cmd_buf.data(), current_process);
|
||||
|
||||
auto nwm_uds = Core::System::GetInstance().ServiceManager().GetService<Service::NWM::NWM_UDS>("nwm::UDS");
|
||||
nwm_uds->HandleSyncRequest(context);
|
||||
nwm_uds->HandleSyncRequest(*context);
|
||||
|
||||
IPC::RequestParser rp2(context);
|
||||
IPC::RequestParser rp2(*context);
|
||||
|
||||
IPC::RequestBuilder rb = rp.MakeBuilder(1, 2);
|
||||
rb.Push(rp2.Pop<u32>());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user