summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-12-04 00:29:15 -0500
committerGravatar Lioncash2018-12-04 01:50:30 -0500
commit312690b4509a6e5c5e97b667136aea7693e52ca0 (patch)
tree81c05c9ff48b02023c713d5ed57fc6799e27b274 /src/core/hle/kernel/process.h
parentMerge pull request #1852 from VPeruS/fix-format-string (diff)
downloadyuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar.gz
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.tar.xz
yuzu-312690b4509a6e5c5e97b667136aea7693e52ca0.zip
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.h9
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 {