diff options
author | Liam <byteslice@airmail.cc> | 2023-12-18 02:46:41 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-23 03:52:49 +0100 |
commit | 31bf57a310f3b3417e96ec9e1cee6c1c817882d9 (patch) | |
tree | c5101e70584301cfc452641544cd31d4d4c6d105 /src/core/hle/kernel/k_session.cpp | |
parent | k_server_session: remove scratch buffer usage in favor of direct copy (diff) | |
download | yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar.gz yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar.bz2 yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar.lz yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar.xz yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.tar.zst yuzu-31bf57a310f3b3417e96ec9e1cee6c1c817882d9.zip |
Diffstat (limited to 'src/core/hle/kernel/k_session.cpp')
-rw-r--r-- | src/core/hle/kernel/k_session.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_session.cpp b/src/core/hle/kernel/k_session.cpp index 44d7a8f02..4a1f6027e 100644 --- a/src/core/hle/kernel/k_session.cpp +++ b/src/core/hle/kernel/k_session.cpp @@ -33,8 +33,7 @@ void KSession::Initialize(KClientPort* client_port, uintptr_t name) { m_name = name; // Set our owner process. - //! FIXME: this is the wrong process! - m_process = m_kernel.ApplicationProcess(); + m_process = GetCurrentProcessPointer(m_kernel); m_process->Open(); // Set our port. |