Преглед изворни кода

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

- Useful purely for debugging.
bunnei пре 5 година
родитељ
комит
07690572f7
1 измењених фајлова са 4 додато и 0 уклоњено
  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();