Эх сурвалжийг харах

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

- Useful purely for debugging.
bunnei 5 жил өмнө
parent
commit
48a3496b93

+ 4 - 0
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();