diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-10 06:42:10 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-10 08:04:55 +0200 |
commit | 5c0408596f6ccf5d2b171321bac386713b169d5b (patch) | |
tree | 1c5d3e1b178d7252cd3e752d8f2a99017a0ecb6d /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #1461 from lioncash/warn (diff) | |
download | yuzu-5c0408596f6ccf5d2b171321bac386713b169d5b.tar yuzu-5c0408596f6ccf5d2b171321bac386713b169d5b.tar.gz yuzu-5c0408596f6ccf5d2b171321bac386713b169d5b.tar.bz2 yuzu-5c0408596f6ccf5d2b171321bac386713b169d5b.tar.lz yuzu-5c0408596f6ccf5d2b171321bac386713b169d5b.tar.xz yuzu-5c0408596f6ccf5d2b171321bac386713b169d5b.tar.zst yuzu-5c0408596f6ccf5d2b171321bac386713b169d5b.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index c0771ecf0..41554821f 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -66,13 +66,13 @@ public: void AppendNewProcess(SharedPtr<Process> process); /// Makes the given process the new current process. - void MakeCurrentProcess(SharedPtr<Process> process); + void MakeCurrentProcess(Process* process); - /// Retrieves a reference to the current process. - SharedPtr<Process>& CurrentProcess(); + /// Retrieves a pointer to the current process. + Process* CurrentProcess(); - /// Retrieves a const reference to the current process. - const SharedPtr<Process>& CurrentProcess() const; + /// Retrieves a const pointer to the current process. + const Process* CurrentProcess() const; /// Adds a port to the named port table void AddNamedPort(std::string name, SharedPtr<ClientPort> port); |