From 312690b4509a6e5c5e97b667136aea7693e52ca0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 4 Dec 2018 00:29:15 -0500 Subject: kernel/svc: Implement the resource limit svcGetInfo option Allows a process to register the resource limit as part of its handle table. --- src/core/hle/kernel/process.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/core/hle/kernel/process.h') 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 GetResourceLimit() const; /// Gets the default CPU ID for this process u8 GetDefaultProcessorID() const { -- cgit v1.2.3