mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 10:19:04 +02:00
ImDebugger: Show per-thread current directory in threads view
This commit is contained in:
1 parent
8a26e39792
commit
b3a2178a5c
4 files changed
+20
-8
No files matched your search
@@ -44,8 +44,7 @@ private:
|
||||
// The order of this vector is meaningful - lookups are always a linear search from the start.
|
||||
std::vector<MountPoint> fileSystems;
|
||||
|
||||
typedef std::map<int, std::string> currentDir_t;
|
||||
currentDir_t currentDir;
|
||||
std::map<int, std::string> currentDir;
|
||||
|
||||
std::string startingDirectory;
|
||||
mutable std::recursive_mutex lock; // must be recursive. TODO: fix that
|
||||
@@ -88,6 +87,8 @@ public:
|
||||
void ThreadEnded(int threadID);
|
||||
void Shutdown();
|
||||
|
||||
std::string GetCurrentDirForThread(int threadID) const;
|
||||
|
||||
u32 GetNewHandle() override {
|
||||
u32 res = current++;
|
||||
if (current < 0) {
|
||||
|
||||
Reference in new issue
Block a user