diff options
| author | Liam <byteslice@airmail.cc> | 2023-12-17 20:46:41 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-12-22 21:52:49 -0500 |
| commit | 1fdcd70badea3fbfe678939e2254683a0b81ab4c (patch) | |
| tree | c5101e70584301cfc452641544cd31d4d4c6d105 /src/core/hle/kernel/k_session.cpp | |
| parent | 8243f4e3c76c579172e58ba8470397211c37c8be (diff) | |
general: properly support multiple memory instances
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 44d7a8f028..4a1f6027ee 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. |
