mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-27 13:55:26 +00:00
kernel/server_session: Provide a GetName() override
Given server sessions can be given a name, we should allow retrieving it instead of using the default implementation of GetName(), which would just return "[UNKNOWN KERNEL OBJECT]".
This commit is contained in:
parent
e796351a0d
commit
a074363a5d
|
@ -41,6 +41,10 @@ public:
|
|||
return "ServerSession";
|
||||
}
|
||||
|
||||
std::string GetName() const override {
|
||||
return name;
|
||||
}
|
||||
|
||||
static const HandleType HANDLE_TYPE = HandleType::ServerSession;
|
||||
HandleType GetHandleType() const override {
|
||||
return HANDLE_TYPE;
|
||||
|
|
Loading…
Reference in a new issue