aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_session.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-07 10:49:41 -0500
committerLiam <byteslice@airmail.cc>2023-03-12 22:09:09 -0400
commitc0b9e93b77cca0e5fbd455efc5dec10199ef8184 (patch)
tree2e6e76c5075bc46695b9c8a178deaadc11b3eb99 /src/core/hle/kernel/k_session.cpp
parent9368e17a92815744ffed8db7a0fd638708426879 (diff)
kernel: remove kernel_
Diffstat (limited to 'src/core/hle/kernel/k_session.cpp')
-rw-r--r--src/core/hle/kernel/k_session.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_session.cpp b/src/core/hle/kernel/k_session.cpp
index 771ad68bf..44d7a8f02 100644
--- a/src/core/hle/kernel/k_session.cpp
+++ b/src/core/hle/kernel/k_session.cpp
@@ -9,8 +9,8 @@
namespace Kernel {
-KSession::KSession(KernelCore& kernel_)
- : KAutoObjectWithSlabHeapAndContainer{kernel_}, m_server{kernel_}, m_client{kernel_} {}
+KSession::KSession(KernelCore& kernel)
+ : KAutoObjectWithSlabHeapAndContainer{kernel}, m_server{kernel}, m_client{kernel} {}
KSession::~KSession() = default;
void KSession::Initialize(KClientPort* client_port, uintptr_t name) {
@@ -34,7 +34,7 @@ void KSession::Initialize(KClientPort* client_port, uintptr_t name) {
// Set our owner process.
//! FIXME: this is the wrong process!
- m_process = kernel.ApplicationProcess();
+ m_process = m_kernel.ApplicationProcess();
m_process->Open();
// Set our port.