summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-08-07 01:16:29 -0700
committerbunnei <bunneidev@gmail.com>2021-08-07 12:18:48 -0700
commit48a3496b9390e0e1cd0a649d941360dda7b9839b (patch)
tree5a50bc9990e09c3248c4174f3764e6edb71d0ab2 /src
parent36cf96857eab706c07470e228542900c41dbabd1 (diff)
core: hle: kernel: k_auto_object: Add GetName method.
- Useful purely for debugging.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_auto_object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_auto_object.h b/src/core/hle/kernel/k_auto_object.h
index e4fcdbc67..165b76747 100644
--- a/src/core/hle/kernel/k_auto_object.h
+++ b/src/core/hle/kernel/k_auto_object.h
@@ -170,6 +170,10 @@ public:
}
}
+ const std::string& GetName() const {
+ return name;
+ }
+
private:
void RegisterWithKernel();
void UnregisterWithKernel();