diff options
Diffstat (limited to 'src/core/hle/kernel/client_port.h')
-rw-r--r-- | src/core/hle/kernel/client_port.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/client_port.h b/src/core/hle/kernel/client_port.h index f3dfebbb1..a82b29417 100644 --- a/src/core/hle/kernel/client_port.h +++ b/src/core/hle/kernel/client_port.h @@ -7,13 +7,13 @@ #include <string> #include "common/common_types.h" #include "core/hle/kernel/object.h" +#include "core/hle/kernel/server_port.h" #include "core/hle/result.h" namespace Kernel { class ClientSession; class KernelCore; -class ServerPort; class ClientPort final : public Object { public: @@ -30,6 +30,10 @@ public: return HANDLE_TYPE; } + SharedPtr<ServerPort> GetServerPort() const { + return server_port; + } + /** * Creates a new Session pair, adds the created ServerSession to the associated ServerPort's * list of pending sessions, and signals the ServerPort, causing any threads |