From 23deae47851b2ca3ac74be97502f3dd8423652fc Mon Sep 17 00:00:00 2001
From: Subv <subv2112@gmail.com>
Date: Sun, 1 Oct 2017 22:17:50 -0500
Subject: [PATCH] Debugging: Implement GetName for Kernel::ServerSession.

Fixes the "[UNKNOWN KERNEL OBJECT]" message in the wait tree when inspecting a server session.
---
 src/core/hle/kernel/server_session.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h
index cff8e7f86..477474a25 100644
--- a/src/core/hle/kernel/server_session.h
+++ b/src/core/hle/kernel/server_session.h
@@ -36,6 +36,9 @@ class Thread;
  */
 class ServerSession final : public WaitObject {
 public:
+    std::string GetName() const override {
+        return name;
+    }
     std::string GetTypeName() const override {
         return "ServerSession";
     }
@@ -104,4 +107,4 @@ private:
     static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown");
 };
 
-}
+} // namespace Kernel