mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-11 20:01:32 -06:00
Fixed remaining coding style errors
This commit is contained in:
parent
5f00bb04c7
commit
219cc83c41
@ -228,12 +228,12 @@ void Module::Interface::ScanAPs(Kernel::HLERequestContext& ctx) {
|
||||
cmd_buf[19] = output_buffer; // address of output buffer
|
||||
|
||||
// Create context for call to NWM_INF::RecvBeaconBroadcastData
|
||||
auto context = std::make_shared<Kernel::HLERequestContext>(Core::System::GetInstance().Kernel(),
|
||||
auto context = std::make_shared<Kernel::HLERequestContext>(Core::System::GetInstance().Kernel(),
|
||||
ctx.Session(), thread);
|
||||
context->PopulateFromIncomingCommandBuffer(cmd_buf.data(), current_process);
|
||||
|
||||
// Retrieve service from service manager
|
||||
auto nwm_inf =
|
||||
auto nwm_inf =
|
||||
Core::System::GetInstance().ServiceManager().GetService<Service::NWM::NWM_INF>("nwm::INF");
|
||||
// Perform delegated task
|
||||
nwm_inf->HandleSyncRequest(*context);
|
||||
|
||||
@ -43,11 +43,11 @@ void NWM_INF::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) {
|
||||
// Prepare for call to NWM_UDS
|
||||
std::shared_ptr<Kernel::Thread> thread = ctx.ClientThread();
|
||||
auto current_process = thread->owner_process.lock();
|
||||
auto context = std::make_shared<Kernel::HLERequestContext>(Core::System::GetInstance().Kernel(),
|
||||
auto context = std::make_shared<Kernel::HLERequestContext>(Core::System::GetInstance().Kernel(),
|
||||
ctx.Session(), thread);
|
||||
context->PopulateFromIncomingCommandBuffer(cmd_buf.data(), current_process);
|
||||
|
||||
auto nwm_uds =
|
||||
auto nwm_uds =
|
||||
Core::System::GetInstance().ServiceManager().GetService<Service::NWM::NWM_UDS>("nwm::UDS");
|
||||
nwm_uds->HandleSyncRequest(*context);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user