summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-05-11 16:15:10 +0200
committerSubv <subv2112@gmail.com>2015-05-11 16:15:10 +0200
commit41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57 (patch)
treeb9500ee328f5b918edca38251878c4f346a30807 /src/core/hle/kernel/kernel.cpp
parentMerge pull request #740 from yuriks/gsp-shmem (diff)
downloadyuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar.gz
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar.bz2
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar.lz
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar.xz
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.tar.zst
yuzu-41f74a16fd55934f747f6f7e1f7a6d4d6a3d4e57.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/kernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index a3715e555..87a0dbe37 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -115,8 +115,7 @@ SharedPtr<Object> HandleTable::GetGeneric(Handle handle) const {
if (handle == CurrentThread) {
return GetCurrentThread();
} else if (handle == CurrentProcess) {
- LOG_ERROR(Kernel, "Current process (%08X) pseudo-handle not supported", CurrentProcess);
- return nullptr;
+ return g_current_process;
}
if (!IsValid(handle)) {
@@ -138,6 +137,7 @@ void Init() {
Kernel::ThreadingInit();
Kernel::TimersInit();
+ Process::next_process_id = 0;
Object::next_object_id = 0;
}