diff options
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/kernel/process.h | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 87a0dbe37..b5c98b249 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -137,8 +137,10 @@ void Init() { Kernel::ThreadingInit(); Kernel::TimersInit(); - Process::next_process_id = 0; Object::next_object_id = 0; + // TODO(Subv): Start the process ids from 10 for now, as lower PIDs are + // reserved for low-level services + Process::next_process_id = 10; } /// Shutdown the kernel diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 11c2ad12d..22cd1049b 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -57,12 +57,6 @@ public: static u32 next_process_id; - /* - * Gets the process' id - * @returns The process' id - */ - u32 GetProcessId() const { return process_id; } - /// Name of the process std::string name; /// Title ID corresponding to the process |