diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-12-04 00:29:15 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-12-04 01:50:30 -0500 |
| commit | 312690b4509a6e5c5e97b667136aea7693e52ca0 (patch) | |
| tree | 81c05c9ff48b02023c713d5ed57fc6799e27b274 /src/core/hle/kernel/process.h | |
| parent | adc4d332fc1a4054b80cfd575025351b970da689 (diff) | |
kernel/svc: Implement the resource limit svcGetInfo option
Allows a process to register the resource limit as part of its handle
table.
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index ada845c7f..49345aa66 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -171,14 +171,7 @@ public: } /// Gets the resource limit descriptor for this process - ResourceLimit& GetResourceLimit() { - return *resource_limit; - } - - /// Gets the resource limit descriptor for this process - const ResourceLimit& GetResourceLimit() const { - return *resource_limit; - } + SharedPtr<ResourceLimit> GetResourceLimit() const; /// Gets the default CPU ID for this process u8 GetDefaultProcessorID() const { |
