diff options
| author | 2018-12-04 12:23:19 -0500 | |
|---|---|---|
| committer | 2018-12-04 12:23:19 -0500 | |
| commit | da5659fb87bbcb0fd3f77679f2573476b0140860 (patch) | |
| tree | 31fac2779ca1799a321445ebd2143a60b7d8647f /src/core/hle/kernel/process.h | |
| parent | Merge pull request #1854 from Subv/old_command_processor (diff) | |
| parent | kernel/handle_table: Amend reference to CTR-OS in Create() (diff) | |
| download | yuzu-da5659fb87bbcb0fd3f77679f2573476b0140860.tar.gz yuzu-da5659fb87bbcb0fd3f77679f2573476b0140860.tar.xz yuzu-da5659fb87bbcb0fd3f77679f2573476b0140860.zip | |
Merge pull request #1857 from lioncash/res-info
kernel/svc: Implement the resource limit svcGetInfo option
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: | |||
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | /// Gets the resource limit descriptor for this process | 173 | /// Gets the resource limit descriptor for this process |
| 174 | ResourceLimit& GetResourceLimit() { | 174 | SharedPtr<ResourceLimit> GetResourceLimit() const; |
| 175 | return *resource_limit; | ||
| 176 | } | ||
| 177 | |||
| 178 | /// Gets the resource limit descriptor for this process | ||
| 179 | const ResourceLimit& GetResourceLimit() const { | ||
| 180 | return *resource_limit; | ||
| 181 | } | ||
| 182 | 175 | ||
| 183 | /// Gets the default CPU ID for this process | 176 | /// Gets the default CPU ID for this process |
| 184 | u8 GetDefaultProcessorID() const { | 177 | u8 GetDefaultProcessorID() const { |