summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2021-08-07 01:16:29 -0700
committerGravatar bunnei2021-08-07 12:18:48 -0700
commit48a3496b9390e0e1cd0a649d941360dda7b9839b (patch)
tree5a50bc9990e09c3248c4174f3764e6edb71d0ab2 /src
parentcore: hle: service: nvflinger/vi: Improve management of KEvent. (diff)
downloadyuzu-48a3496b9390e0e1cd0a649d941360dda7b9839b.tar.gz
yuzu-48a3496b9390e0e1cd0a649d941360dda7b9839b.tar.xz
yuzu-48a3496b9390e0e1cd0a649d941360dda7b9839b.zip
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:
170 } 170 }
171 } 171 }
172 172
173 const std::string& GetName() const {
174 return name;
175 }
176
173private: 177private:
174 void RegisterWithKernel(); 178 void RegisterWithKernel();
175 void UnregisterWithKernel(); 179 void UnregisterWithKernel();