summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar Liam2022-10-30 19:20:55 -0400
committerGravatar Liam2022-10-31 17:45:46 -0400
commit222838332209db34cd70687caaa6997c31de085b (patch)
treedb51c7a937c046121bd914df878c13fb9a177afb /src/core/hle/kernel/kernel.h
parentk_server_session: add SendReplyHLE (diff)
downloadyuzu-222838332209db34cd70687caaa6997c31de085b.tar.gz
yuzu-222838332209db34cd70687caaa6997c31de085b.tar.xz
yuzu-222838332209db34cd70687caaa6997c31de085b.zip
kernel: fix port tracking
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 670f93ee3..4ae6b3923 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -204,14 +204,6 @@ public:
204 /// Accepts a session on a port created by CreateNamedServicePort. 204 /// Accepts a session on a port created by CreateNamedServicePort.
205 void RegisterNamedServiceHandler(std::string name, KServerPort* server_port); 205 void RegisterNamedServiceHandler(std::string name, KServerPort* server_port);
206 206
207 /// Registers a server session or port with the gobal emulation state, to be freed on shutdown.
208 /// This is necessary because we do not emulate processes for HLE sessions and ports.
209 void RegisterServerObject(KAutoObject* server_object);
210
211 /// Unregisters a server session or port previously registered with RegisterServerSession when
212 /// it was destroyed during the current emulation session.
213 void UnregisterServerObject(KAutoObject* server_object);
214
215 /// Registers all kernel objects with the global emulation state, this is purely for tracking 207 /// Registers all kernel objects with the global emulation state, this is purely for tracking
216 /// leaks after emulation has been shutdown. 208 /// leaks after emulation has been shutdown.
217 void RegisterKernelObject(KAutoObject* object); 209 void RegisterKernelObject(KAutoObject* object);