diff options
| author | 2019-09-11 12:47:37 -0400 | |
|---|---|---|
| committer | 2019-10-15 11:55:16 -0400 | |
| commit | e05a8c2385a68be6b1f6079c656fa46336546927 (patch) | |
| tree | 39a6d0c1955c580f7db66a53fc5777cdc885e4b7 /src/core/hle/kernel/kernel.h | |
| parent | Scheduler: Implement Yield Count and Core migration on Thread Preemption. (diff) | |
| download | yuzu-e05a8c2385a68be6b1f6079c656fa46336546927.tar.gz yuzu-e05a8c2385a68be6b1f6079c656fa46336546927.tar.xz yuzu-e05a8c2385a68be6b1f6079c656fa46336546927.zip | |
Kernel: Remove global system accessor from WaitObject
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index f9f5bdc88..0fc4d1f36 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -82,6 +82,12 @@ public: | |||
| 82 | /// Gets the sole instance of the global scheduler | 82 | /// Gets the sole instance of the global scheduler |
| 83 | const Kernel::GlobalScheduler& GlobalScheduler() const; | 83 | const Kernel::GlobalScheduler& GlobalScheduler() const; |
| 84 | 84 | ||
| 85 | /// Gets the sole instance of the system | ||
| 86 | Core::System& System(); | ||
| 87 | |||
| 88 | /// Gets the sole instance of the system | ||
| 89 | const Core::System& System() const; | ||
| 90 | |||
| 85 | /// Adds a port to the named port table | 91 | /// Adds a port to the named port table |
| 86 | void AddNamedPort(std::string name, SharedPtr<ClientPort> port); | 92 | void AddNamedPort(std::string name, SharedPtr<ClientPort> port); |
| 87 | 93 | ||