mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-03 13:45:01 -06:00
Fixed kernel reference
This commit is contained in:
parent
6238f52819
commit
babec1bb5c
@ -218,7 +218,7 @@ void Module::Interface::ScanAPs(Kernel::HLERequestContext& ctx) {
|
|||||||
cmd_buf[18] = (size << 4) | 12;
|
cmd_buf[18] = (size << 4) | 12;
|
||||||
cmd_buf[19] = buffer_id;
|
cmd_buf[19] = buffer_id;
|
||||||
|
|
||||||
Kernel::KernelSystem kernel = ctx.kernel;
|
Kernel::KernelSystem kernel = Core::System::GetInstance()::GetKernel();
|
||||||
std::shared_ptr<Kernel::Thread> thread = ctx.ClientThread();
|
std::shared_ptr<Kernel::Thread> thread = ctx.ClientThread();
|
||||||
auto current_process = thread->owner_process.lock();
|
auto current_process = thread->owner_process.lock();
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@ void NWM_INF::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) {
|
|||||||
cmd_buf[i] = ctx_data[i - 1];
|
cmd_buf[i] = ctx_data[i - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Kernel::KernelSystem kernel = ctx.kernel;
|
Kernel::KernelSystem kernel = Core::System::GetInstance()::GetKernel();
|
||||||
std::shared_ptr<Kernel::Thread> thread = ctx.ClientThread();
|
std::shared_ptr<Kernel::Thread> thread = ctx.ClientThread();
|
||||||
auto current_process = thread->owner_process.lock();
|
auto current_process = thread->owner_process.lock();
|
||||||
auto context =
|
auto context =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user