Fixed method call

This commit is contained in:
PTRCoder 2024-08-23 15:41:09 +02:00
parent babec1bb5c
commit 67380edbc9
2 changed files with 2 additions and 2 deletions

View File

@ -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<Kernel::Thread> thread = ctx.ClientThread();
auto current_process = thread->owner_process.lock();

View File

@ -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<Kernel::Thread> thread = ctx.ClientThread();
auto current_process = thread->owner_process.lock();
auto context =