summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-21 06:28:11 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:52 +0200
commitb57c5a9b54b23a348d7e80e51943f27a54fb8c2f (patch)
treee3f3c81a2fddb94c43b6a1dd641c61a7ca9c8225 /src/core/hle/kernel/process.h
parenthle: kernel: svc: Migrate WaitSynchronization. (diff)
downloadyuzu-b57c5a9b54b23a348d7e80e51943f27a54fb8c2f.tar
yuzu-b57c5a9b54b23a348d7e80e51943f27a54fb8c2f.tar.gz
yuzu-b57c5a9b54b23a348d7e80e51943f27a54fb8c2f.tar.bz2
yuzu-b57c5a9b54b23a348d7e80e51943f27a54fb8c2f.tar.lz
yuzu-b57c5a9b54b23a348d7e80e51943f27a54fb8c2f.tar.xz
yuzu-b57c5a9b54b23a348d7e80e51943f27a54fb8c2f.tar.zst
yuzu-b57c5a9b54b23a348d7e80e51943f27a54fb8c2f.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/process.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index df3c7997d..35fe16433 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -171,7 +171,7 @@ public:
}
/// Gets the resource limit descriptor for this process
- std::shared_ptr<KResourceLimit> GetResourceLimit() const;
+ KResourceLimit* GetResourceLimit() const;
/// Gets the ideal CPU core ID for this process
u8 GetIdealCoreId() const {
@@ -348,9 +348,7 @@ public:
static void PostDestroy([[maybe_unused]] uintptr_t arg) {}
- virtual void Finalize() override {
- UNIMPLEMENTED();
- }
+ virtual void Finalize();
virtual u64 GetId() const override final {
return GetProcessID();
@@ -415,7 +413,7 @@ private:
u32 system_resource_size = 0;
/// Resource limit descriptor for this process
- std::shared_ptr<KResourceLimit> resource_limit;
+ KResourceLimit* resource_limit{};
/// The ideal CPU core for this process, threads are scheduled on this core by default.
u8 ideal_core = 0;