diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-10-04 06:09:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 06:09:08 +0200 |
commit | 01f79d638fbbca54280ab9b5840e5a483b7ceb69 (patch) | |
tree | 6520b5f70f2d3132031610e39d6d7c50aa268838 /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #7122 from Morph1984/update-qt (diff) | |
parent | Fix KShareMemory object leak (diff) | |
download | yuzu-01f79d638fbbca54280ab9b5840e5a483b7ceb69.tar yuzu-01f79d638fbbca54280ab9b5840e5a483b7ceb69.tar.gz yuzu-01f79d638fbbca54280ab9b5840e5a483b7ceb69.tar.bz2 yuzu-01f79d638fbbca54280ab9b5840e5a483b7ceb69.tar.lz yuzu-01f79d638fbbca54280ab9b5840e5a483b7ceb69.tar.xz yuzu-01f79d638fbbca54280ab9b5840e5a483b7ceb69.tar.zst yuzu-01f79d638fbbca54280ab9b5840e5a483b7ceb69.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 901d43da9..b6658b437 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -49,6 +49,7 @@ class KScheduler; class KServerSession; class KSession; class KSharedMemory; +class KSharedMemoryInfo; class KThread; class KTransferMemory; class KWritableEvent; @@ -309,6 +310,8 @@ public: return slab_heap_container->session; } else if constexpr (std::is_same_v<T, KSharedMemory>) { return slab_heap_container->shared_memory; + } else if constexpr (std::is_same_v<T, KSharedMemoryInfo>) { + return slab_heap_container->shared_memory_info; } else if constexpr (std::is_same_v<T, KThread>) { return slab_heap_container->thread; } else if constexpr (std::is_same_v<T, KTransferMemory>) { @@ -362,6 +365,7 @@ private: KSlabHeap<KResourceLimit> resource_limit; KSlabHeap<KSession> session; KSlabHeap<KSharedMemory> shared_memory; + KSlabHeap<KSharedMemoryInfo> shared_memory_info; KSlabHeap<KThread> thread; KSlabHeap<KTransferMemory> transfer_memory; KSlabHeap<KWritableEvent> writeable_event; |