Explorar o código

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

- Useful purely for debugging.
bunnei %!s(int64=5) %!d(string=hai) anos
pai
achega
07690572f7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/core/hle/kernel/k_auto_object.h

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