diff options
| author | Liam <byteslice@airmail.cc> | 2023-02-13 11:21:43 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-02-13 19:03:12 -0500 |
| commit | ceda2d280e8a3030c1e23083c5cea9158387fe4c (patch) | |
| tree | 8041460840ed81d4cb74d87eecfb8fb720cdfa15 /src/core/hle/kernel/k_handle_table.h | |
| parent | 4363ca304afb0b615481c7d49e863a2c429cc5c6 (diff) | |
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/core/hle/kernel/k_handle_table.h')
| -rw-r--r-- | src/core/hle/kernel/k_handle_table.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_handle_table.h b/src/core/hle/kernel/k_handle_table.h index 1bf68e6b0..d7660630c 100644 --- a/src/core/hle/kernel/k_handle_table.h +++ b/src/core/hle/kernel/k_handle_table.h @@ -90,7 +90,8 @@ public: // Handle pseudo-handles. if constexpr (std::derived_from<KProcess, T>) { if (handle == Svc::PseudoHandle::CurrentProcess) { - auto* const cur_process = GetCurrentProcessPointer(m_kernel); + //! FIXME: this is the wrong process! + auto* const cur_process = m_kernel.ApplicationProcess(); ASSERT(cur_process != nullptr); return cur_process; } |
