From 67380edbc9eed88b0bdcb30c2bacd4a0ab857c8d Mon Sep 17 00:00:00 2001 From: PTRCoder Date: Fri, 23 Aug 2024 15:41:09 +0200 Subject: [PATCH] Fixed method call --- src/core/hle/service/ac/ac.cpp | 2 +- src/core/hle/service/nwm/nwm_inf.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/ac/ac.cpp b/src/core/hle/service/ac/ac.cpp index be9c2f072..0d5c94556 100644 --- a/src/core/hle/service/ac/ac.cpp +++ b/src/core/hle/service/ac/ac.cpp @@ -218,7 +218,7 @@ void Module::Interface::ScanAPs(Kernel::HLERequestContext& ctx) { cmd_buf[18] = (size << 4) | 12; cmd_buf[19] = buffer_id; - Kernel::KernelSystem kernel = Core::System::GetInstance()::GetKernel(); + Kernel::KernelSystem kernel = Core::System::GetInstance().GetKernel(); std::shared_ptr thread = ctx.ClientThread(); auto current_process = thread->owner_process.lock(); diff --git a/src/core/hle/service/nwm/nwm_inf.cpp b/src/core/hle/service/nwm/nwm_inf.cpp index 90f50f327..2bfc2c8f9 100644 --- a/src/core/hle/service/nwm/nwm_inf.cpp +++ b/src/core/hle/service/nwm/nwm_inf.cpp @@ -27,7 +27,7 @@ void NWM_INF::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) { cmd_buf[i] = ctx_data[i - 1]; } - Kernel::KernelSystem kernel = Core::System::GetInstance()::GetKernel(); + Kernel::KernelSystem kernel = Core::System::GetInstance().GetKernel(); std::shared_ptr thread = ctx.ClientThread(); auto current_process = thread->owner_process.lock(); auto context =