mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-26 19:55:31 +00:00
Debugging: Implement GetName for Kernel::ServerSession.
Fixes the "[UNKNOWN KERNEL OBJECT]" message in the wait tree when inspecting a server session.
This commit is contained in:
parent
5f92dc963c
commit
23deae4785
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue