Fixed method call

This commit is contained in:
PTRCoder 2024-08-23 15:50:37 +02:00
parent 8b9e04c541
commit bb4de89652
2 changed files with 2 additions and 2 deletions

View File

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