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 3239442de6
commit 07690572f7
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();