summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/handle_table.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-06 19:51:31 +0200
committerLioncash <mathew1800@gmail.com>2019-10-06 19:53:12 +0200
commitf1382cf0e7180cd31505ee89e774cc93bde6211e (patch)
treec732e422a882f0e40e42094533546b32e61d56c2 /src/core/hle/kernel/handle_table.cpp
parenthle/service: Replace global system instance calls with instance-based ones (diff)
downloadyuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.gz
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.bz2
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.lz
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.xz
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.zst
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.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)) {