core: hle: kernel: k_auto_object: Add GetName method.

- Useful purely for debugging.
This commit is contained in:
bunnei 2021-08-07 01:16:29 -07:00
parent 36cf96857e
commit 48a3496b93
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ public:
} }
} }
const std::string& GetName() const {
return name;
}
private: private:
void RegisterWithKernel(); void RegisterWithKernel();
void UnregisterWithKernel(); void UnregisterWithKernel();