summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/handle_table.cpp
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-10-07 02:47:48 +0200
committerGitHub <noreply@github.com>2019-10-07 02:47:48 +0200
commit5326d3cb3a75a1f7df531e47cf0acadc3c5db32b (patch)
tree83697ca2dba90470ba59eff2f56e71769b03e3d9 /src/core/hle/kernel/handle_table.cpp
parentMerge pull request #2952 from lioncash/warning (diff)
parentcore/core: Remove unused header (diff)
downloadyuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.gz
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.bz2
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.lz
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.xz
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.tar.zst
yuzu-5326d3cb3a75a1f7df531e47cf0acadc3c5db32b.zip
Diffstat (limited to 'src/core/hle/kernel/handle_table.cpp')
-rw-r--r--src/core/hle/kernel/handle_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/handle_table.cpp b/src/core/hle/kernel/handle_table.cpp
index bdfaa977f..2cc5d536b 100644
--- a/src/core/hle/kernel/handle_table.cpp
+++ b/src/core/hle/kernel/handle_table.cpp
@@ -103,7 +103,7 @@ SharedPtr<Object> HandleTable::GetGeneric(Handle handle) const {
if (handle == CurrentThread) {
return GetCurrentThread();
} else if (handle == CurrentProcess) {
- return Core::CurrentProcess();
+ return Core::System::GetInstance().CurrentProcess();
}
if (!IsValid(handle)) {