mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +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
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -36,6 +36,9 @@ class Thread; | ||||||
|  */ |  */ | ||||||
| class ServerSession final : public WaitObject { | class ServerSession final : public WaitObject { | ||||||
| public: | public: | ||||||
|  |     std::string GetName() const override { | ||||||
|  |         return name; | ||||||
|  |     } | ||||||
|     std::string GetTypeName() const override { |     std::string GetTypeName() const override { | ||||||
|         return "ServerSession"; |         return "ServerSession"; | ||||||
|     } |     } | ||||||
|  | @ -104,4 +107,4 @@ private: | ||||||
|     static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown"); |     static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown"); | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| } | } // namespace Kernel
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue