summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2021-08-07 01:16:29 -0700
committerGravatar bunnei2021-12-06 16:39:16 -0800
commit07690572f777c66f649110db780f556186f5fea8 (patch)
tree9725734226c50f11deb2fee16f8c40c177f9e262 /src/core
parentcore: hle: kernel: DisableDispatch on suspend threads. (diff)
downloadyuzu-07690572f777c66f649110db780f556186f5fea8.tar.gz
yuzu-07690572f777c66f649110db780f556186f5fea8.tar.xz
yuzu-07690572f777c66f649110db780f556186f5fea8.zip
core: hle: kernel: k_auto_object: Add GetName method.
- Useful purely for debugging.
Diffstat (limited to 'src/core')
-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();