From 1dd28eedc53610295b14f586010d6a8acbd311fc Mon Sep 17 00:00:00 2001 From: PTRCoder Date: Sat, 24 Aug 2024 00:13:26 +0200 Subject: [PATCH] Fixed missing call to Kernel() --- src/core/hle/service/ac/ac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/ac/ac.cpp b/src/core/hle/service/ac/ac.cpp index cf8e8bce1..b465d4ad8 100644 --- a/src/core/hle/service/ac/ac.cpp +++ b/src/core/hle/service/ac/ac.cpp @@ -199,7 +199,7 @@ void Module::Interface::ScanAPs(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_AC, "PID: {}", pid); std::shared_ptr thread = ctx.ClientThread(); - auto current_process = Core::System::GetInstance().GetCurrentProcess(); + auto current_process = Core::System::GetInstance().Kernel().GetCurrentProcess(); Memory::MemorySystem& memory = Core::System::GetInstance().Memory(); LOG_WARNING(Service_AC, "Retrieved thread, process and memory");