diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-19 18:54:06 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-20 00:16:39 +0100 |
commit | 5d46038c5cd91504b00b76660212a3a28b244f38 (patch) | |
tree | 01e29da6e94c76109225ae27ed92dbfe7973c22d /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #1634 from DarkLordZach/better-hid-2 (diff) | |
download | yuzu-5d46038c5cd91504b00b76660212a3a28b244f38.tar yuzu-5d46038c5cd91504b00b76660212a3a28b244f38.tar.gz yuzu-5d46038c5cd91504b00b76660212a3a28b244f38.tar.bz2 yuzu-5d46038c5cd91504b00b76660212a3a28b244f38.tar.lz yuzu-5d46038c5cd91504b00b76660212a3a28b244f38.tar.xz yuzu-5d46038c5cd91504b00b76660212a3a28b244f38.tar.zst yuzu-5d46038c5cd91504b00b76660212a3a28b244f38.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 7f822d524..ea00c89f5 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -24,8 +24,6 @@ class ResourceLimit; class Thread; class Timer; -enum class ResourceLimitCategory : u8; - /// Represents a single instance of the kernel. class KernelCore { private: @@ -47,8 +45,8 @@ public: /// Clears all resources in use by the kernel instance. void Shutdown(); - /// Retrieves a shared pointer to a ResourceLimit identified by the given category. - SharedPtr<ResourceLimit> ResourceLimitForCategory(ResourceLimitCategory category) const; + /// Retrieves a shared pointer to the system resource limit instance. + SharedPtr<ResourceLimit> GetSystemResourceLimit() const; /// Retrieves a shared pointer to a Thread instance within the thread wakeup handle table. SharedPtr<Thread> RetrieveThreadFromWakeupCallbackHandleTable(Handle handle) const; |